Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Is it possible to create a program to host a 32bit app using a screen resolution of 800x600 without actually changing the Windows desktop settings?
 
For example:
 
If I have a program that is maximized and is only taking up about a quarter of the screen with my display settings at 1366x768, the only way to run this program in full screen is to set my resolution to 800x600.
 
Any suggestions?
Posted 26-Aug-11 19:32pm
DrBones691.9K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If I understand you correctly, you've a window that doesn't get bigger than 800x600. With a screen resolution of 1366x768 it won't fill up the whole screen. The only way to do that is to set the resolution to 800x600, which causes problems with something else.
 
While not changing the resolution, I can't see how this solution would avoid the same pitfalls.. How about the screen magnifier found under Accessibility options in control panel? (or by holding the windows key and pressing either + or -, at least on win7 that is - i don't know about earlier versions)
 

Failing that, I guess you may be able to take a screen-shot of the hosted app, scale and redraw this image in your own full-screen app in front of the hosted app. You'd then have to scale and pass all mouse-movements/keyboard strokes back to the hosted app.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I dont kown what exactly you mean by full screen, but you can preventing the window becoming resized larger than 800x600. You only must handle the window message WM_GETMINMAXINFO.
Regards.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Although I have never tried it, I would think that a virtual machine (VMWare, Virtual PC...) would be the solution for thus problem. Simply set the resolution of the guess OS to 800x600 and start your application in that virtual machine.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 27 Aug 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100