How do i change the resolution of the screen, then make my window go into fullscreen mode where there is no border and it takes up the whole screen?
Printable View
How do i change the resolution of the screen, then make my window go into fullscreen mode where there is no border and it takes up the whole screen?
In windows? I don't think that you can do this without using some graphics mode, or maybe using direct x or somehting.
You can, i just dont know how. And in windows, theres only one mode. This kind of thing is usually used with games.
To make the window go full screen??? Turn off the border... and maximize the window...
To make a fullscreen like in the games, use OpenGL or DirectX.
Look up DEVMODE.
You tried to help me with this some time ago. I don't know if it will help you or not:
http://www.vbforums.com/showthread.p...threadid=51415
:D :cool:
What does that have to do with switching to full screen?
When you call CreateWindow (or CreateWindowEx), pass "WS_POPUP | WS_MAXIMIZE" as the "dwStyle" parameter. That will give you a fullscreen window with no border. There is a VB tutorial for switching the screen resolution somewhere on VB-World, which you can easily translate into C++.
Z.