Is there a way to double the pixel size of a window, and only that window, that draws to the screen using GDI?

link|improve this question

50% accept rate
What do you mean by "double pixel size"? enlarge to 2x the size? – wizlog Nov 7 '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 8 '11 at 2: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. – MMavipc Nov 9 '11 at 0: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 9 '11 at 1:47
@wizlog I wasn't sure whether or not it was avaliable, and 50 was the max rep I put on a bounty. – MMavipc Nov 9 '11 at 2:00
show 1 more comment
feedback

1 Answer

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.
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.