|
-
February 1st, 2004, 11:06 PM
#1
How to make OS update it's Display Properties->Settings Page
Hi,
I developed a small app that changes the Resolution of my desktop, say from 800x600 to 1024x768.
I am in 800x600 mode. I opened OS Display Properties->Settings page which shows under Screen Resolution 8x6. I chage the screen resolution to 10x7 using my app. But I still see in OS Settings page the Screen Resolution shows 8x6. How to make OS update this settings page?
Note: If I close the Display Properties-> Settings page, and re-open it, I can see that Screen Resolution is now 10x7.
But the resolution is not changing dynamically -- which I want to OS to do.
regards,
Indranil
-
February 12th, 2004, 02:44 PM
#2
tell your program to restart explorer.exe, that might do the trick...basically you have to force the computer to register current settings again, by just forcing a screen resolution change without consulting the OS, it doesn't know the resolution has been changed. Games do the same thing.
C G C F A D--Feel the Noise
"When your life goes nowhere and leads back to me, doesn't that tell you something?"
~Gray Area Fury
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|