|
-
June 10th, 2010, 02:25 PM
#3
Re: How to let a CFrameWnd based SDI application start in full screen?
 Originally Posted by jchliu
SetWindowPos(NULL, -cxFrame, -(cyFrame + cyCaption), cxScreen + 2 * cxFrame, cyScreen + 2 * cyFrame + cyCaption, SWP_NOZORDER);
This will occupy most of the screen, but not the taskbar at the bottom. How can I also let the application occupy really the full screen (includeing the taskbar area)? Thanks.
Leo
Replace NULL with &CWnd::wndTopMost. This will knock the taskbar out of the way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|