Expand Minimize
This topic has not yet been rated - Rate this topic

CMDIFrameWndEx::EnableFullScreenMode

Enables full-screen mode for the frame window.

void EnableFullScreenMode(
   UINT uiFullScreenCmd
);
[in] uiFullScreenCmd

The ID of a command that enables or disables full-screen mode.

In full-screen mode, all docking control bars, toolbars and menus are hidden and the active view is resized to occupy the full-screen.When you enable full-screen mode, you must specify an ID of the command that enables or disables it. You can call EnableFullScreenMode from the main frame's OnCreate function. When a frame window is being switched to full-screen mode, the framework creates a floating toolbar with one button that has the specified command ID.If you want to keep the main menu on the screen, call CMDIFrameWndEx::EnableFullScreenMainMenu.

Header: afxmdiframewndex.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.