Jump to content



From full screen to window mode

  • You cannot reply to this topic
3 replies to this topic

#1 themean   Members   -  Reputation: 103

Like
0Likes
Like

Posted 03 February 2012 - 04:36 PM

How i can back to window mode with ChangeDisplaySettings
for full screen i use CDS_FULLSCREEN
but cant find enum for window mode

Ad:

#2 Brother Bob   Moderators   -  Reputation: 1765

Like
1Likes
Like

Posted 03 February 2012 - 05:36 PM

The documentation for ChangeDisplaySettings says how to restore the display mode.

#3 Washu   Senior Moderators   -  Reputation: 2448

Like
1Likes
Like

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

#4 themean   Members   -  Reputation: 103

Like
0Likes
Like

Posted 04 February 2012 - 04:14 AM

10x :)






We are working on generating results for this topic
PARTNERS