Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I build application in MFC 6.0 that works in fullscreen mode?

1 solution

First you need to hide all content that you do not wish to display in full screen mode, like the status bar, toolbar, menu bar etc.
Then handle WM_GETMINMAXINFO to set the maximum size to which the window can be resized.
Finally resize the window using SetWindowPos.
Share this answer
Dalek Dave 4-Oct-10 4:03am    
Good Call

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900