isnoend2001
asked on
Screen resolution routine
Seems 2-3 yrs ago i had a routine that did this:
Combobox on form with different resolutions eg:
800 x 600
1024 x 768
1280 x 800
1280 x 1024
1152 x 864
1680x1050
When making a selection the form would resize to the selection as if it was actually running at that resolution. Does anyone know how to do this?
Eg: Form is shown at 1280x1024 selecting 1680x1050 the form would shrink as if the resolution was changed without actually changing the resolution
Combobox on form with different resolutions eg:
800 x 600
1024 x 768
1280 x 800
1280 x 1024
1152 x 864
1680x1050
When making a selection the form would resize to the selection as if it was actually running at that resolution. Does anyone know how to do this?
Eg: Form is shown at 1280x1024 selecting 1680x1050 the form would shrink as if the resolution was changed without actually changing the resolution
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Please award the poitns, because I did actually did answer his original question, although he did not phrase it correctly. Adding to that -- if he did wish to actually change the 'screen' resolution, it would be simply a matter of using API calls to change it, and/or using the control panel applet to 'switch' resolutions. Doing a quick search, he could probably find details here: http://www.dreamincode.net/forums/showtopic34776.htm
Please award the poitns, because I did actually did answer his original question, although he did not phrase it correctly. Adding to that -- if he did wish to actually change the 'screen' resolution, it would be simply a matter of using API calls to change it, and/or using the control panel applet to 'switch' resolutions. Doing a quick search, he could probably find details here: http://www.dreamincode.net/forums/showtopic34776.htm
ASKER
Example:
my form is w-12540 x h-10500 at 1280 x1024 resolutation and i want to see how big it would be 1440x900
etc