// JP opened flex table

Click to See Complete Forum and Search --> : Full Screen -


.pcbrainbuster
November 24th, 2007, 03:07 PM
Sup guys,

How would I make my application full screen?

Thanks.

Marc G
November 24th, 2007, 04:25 PM
Several ways, it depens on the application.
If you use DirectX, it has built-in support for fullscreen windows.
If you use standard Win32 API, you can create a window that has no border, not titlebar and that you maximize. You also might want to put the window AlwaysOnTop to make sure it's above the Windows taskbar.

STLDude
November 24th, 2007, 04:36 PM
Depends what you are using for your graphics. In DirectX9, you can use IDirect3D9::CreateDevice method.
If you are using OpenGL or just plain Win32, use what Marc G suggested, and also Win32 has ChangeDisplaySettings function which allows you to change resolution of the desktop and it's not dependent on DX or OpenGL. Games use that function to change it's resoltion. IOW, even you do not use OpenGL or DirectX, it works with Win32 apps including MFC Framework. If you end up using ChangeDisplaySettings you also might use that window creation suggestion from Marc G.

//JP added flex table