CFullScreenImpl Class

Implements full-screen functionality common to SDI and MDI applications.

class CFullScreenImpl

Members

Public Constructors

Name

Description

CFullScreenImpl::CFullScreenImpl

Constructs a CFullScreenImpl object.

CFullScreenImpl::~CFullScreenImpl

Destructor.

Public Methods

Name

Description

CFullScreenImpl::EnableMainMenu

Shows or hides the main menu if the frame window is in full-screen mode.

CFullScreenImpl::EnableTabsArea

Shows or hides the MDI tab area of an MDI application if the frame window is in full-screen mode.

CFullScreenImpl::GetFullScreenRect

Returns the frame window rectangle if the frame window is in full-screen mode.

CFullScreenImpl::IsFullScreen

Indicates whether the frame window is in full-screen mode.

CFullScreenImpl::OnGetMinMaxInfo

Called by the OnGetMinMaxInfo handler of the frame if the frame window is in full-screen mode.

CFullScreenImpl::RestoreState

Restores the docking pane layout to the state that was saved just before the user switched to full-screen mode.

CFullScreenImpl::SetFullScreenID

Specifies the ID of the command that will switch the frame window into full-screen mode.

CFullScreenImpl::ShowFullScreen

Activates full-screen mode.

Remarks

This class supports the MFC framework infrastructure and is not intended to be used directly from your code.

You do not have to explicitly instantiate a CFullScreenImpl object. This object is embedded into CFrameImpl Class. Its interface is accessed through methods offered by CFrameImpl, CMDIFrameWndEx Class and CFrameWndEx Class. CMDIFrameWndEx and CFrameWndEx expose the following methods for managing full-screen mode: IsFullScreen, ShowFullScreen, EnableFullScreenMainMenu, and EnableFullScreenMode.

Inheritance Hierarchy

CFullScreenImpl

Requirements

Header: afxfullscreenimpl.h

See Also

Concepts

MFC Hierarchy Chart

Other Resources

Classes (MFC Feature Pack)