Recommended Posts

ChangeDisplaySettings works fine for any resolution less than my desktop''s, but once I match it or go higher the taskbar is still visible. I do make sure to pass the CDS_FULLSCREEN flag. What''s wrong with it?

Share this post

Link to post

Share on other sites

All seems the same besides the main CDS line - ChangeDisplaySettings... The CDS_FULLSCREEN is mainly used for gaming and when background, taskbars, and the alike are not seen. If you are trying to switch the res for your desktop you'll have to set different flags besides CDS_FULLSCREEN, for instance CDS_GLOBAL and CDS_UPDATEREGISTRY.

Share this post

Link to post

Share on other sites

Still no luck . Every computer I try it on seems to behave differently. On some the taskbar doesn''t show and on some it does. Some the screen goes all funky when I go higher than the desktop''s resolution... The resolution doesn''t go back to the desktop''s when you alt+tab either. Is DirectX the only way to get it to behave properly or something?