Is there a way to double the pixel size of a window, and only that window, that draws to the screen using GDI?
Asked
Active
Viewed 601 times
2
-
What do you mean by "double pixel size"? enlarge to 2x the size? – wizlog Nov 07 '11 at 17:40
-
After extensive research, this can't be done. You might want to try using a magnifier for a specific window, but apart from that... – wizlog Nov 08 '11 at 02:23
-
@wizlog It can be done, it would just require me to get off of my lazy ass and code a DLL that hooks the drawing, window creation, and mouse position get functions and double everything. – Avery3R Nov 09 '11 at 00:35
-
If the software isn't readily available, you should of mentioned that, and offered more than a bounty of just 50 rep. – wizlog Nov 09 '11 at 01:47
-
@wizlog I wasn't sure whether or not it was avaliable, and 50 was the max rep I put on a bounty. – Avery3R Nov 09 '11 at 02:00
-
I wasn't serious... Sorry. If I knew how, I'd do it... – wizlog Nov 09 '11 at 03:46
1 Answers
0
Do you mean:
- Change the DPI of the window? The answer is no.
- Change the dimensions of the window? The answer is yes via GetWindowPos/SetWindowPos.
- Zoom the window? Not unless you're using Direct2D/DirectX (in which case you can use a shader). You have to do this yourself.
SecurityMatt
- 3,140
- 16
- 21