I'm trying to understand how to change a windowed-window to a fullscreen-window at run time. What I do is use a DEVMODE structure with ChangeDisplaySettings when I want to make it fullscreen. I set the width and height to the width and height of the screen, which is fine. But what I want to know is how to change the resolution of the screen, not just the size of the display window, is there any way to do that?
tomtetlaw
-1
Posting Pro
Recommended Answers
Jump to PostYou still use DEVMODE. The dmPelsWidth, dmPelsHeight, and dmBitsPerPel members are what you want to update.
Jump to PostFollow this and see if you're doing all of the necessary full screen steps in CreateGLWindow().
All 5 Replies
Narue
5,707
Bad Cop
Team Colleague
tomtetlaw
-1
Posting Pro
Narue
5,707
Bad Cop
Team Colleague
tomtetlaw
-1
Posting Pro
tomtetlaw
-1
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.