views:

103

answers:

2

Is it possible to capture full screen in visual studio (VC++), so that user don't have to press ATL+Enter. Kindly guide me how I can make it possible.

A: 

It depends. If you are using Direct3D alt-enter enters full screen mode by default.

If your application is "normal" (ie, not a 3d application) then there is no actual full-screen mode. You can however create the illusion of it by maximizing the window and removing things like the top menu bar.

Andreas Bonini
+3  A: 

If you need to enter fullscreen mode in OpenGL per default, check out NeHe Productions, for instance his second lesson
If you download his example at the bottom of the screen and check out the:
BOOL CreateGLWindow(char* title, int width, int height, int bits, bool fullscreenflag)
.. you will see how it can be made in OpenGL

Default