How i can back to window mode with ChangeDisplaySettings
for full screen i use CDS_FULLSCREEN
but cant find enum for window mode
From full screen to window mode
Started by themean, Feb 03 2012 04:36 PM
3 replies to this topic
Ad:
#2 Moderators - Reputation: 1765
Posted 03 February 2012 - 05:36 PM
The documentation for ChangeDisplaySettings says how to restore the display mode.
#3 Senior Moderators - Reputation: 2448
Posted 03 February 2012 - 05:36 PM
As per the documentation
Quote
A pointer to a DEVMODE structure that describes the new graphics mode. If lpDevMode is NULL, all the values currently in the registry will be used for the display setting. Passing NULL for the lpDevMode parameter and 0 for the dwFlags parameter is the easiest way to return to the default mode after a dynamic mode change.
In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX
ScapeCode - Blog | SlimDX


















