CFrameWnd Class Members
Data Members
m_bAutoMenuEnable | Controls automatic enable and disable functionality for menu items. |
rectDefault | Pass this static CRect as a parameter when creating a CFrameWnd object to allow Windows to choose the window’s initial size and position. |
Construction
CFrameWnd | Constructs a CFrameWnd object. |
Initialization
Create | Call to create and initialize the Windows frame window associated with the CFrameWnd object. |
LoadFrame | Call to dynamically create a frame window from resource information. |
LoadAccelTable | Call to load an accelerator table. |
LoadBarState | Call to restore control bar settings. |
SaveBarState | Call to save control bar settings. |
ShowControlBar | Call to show the control bar. |
SetDockState | Call to dock the frame window in the main window. |
GetDockState | Retrieves the dock state of a frame window. |
Operations
ActivateFrame | Makes the frame visible and available to the user. |
InitialUpdateFrame | Causes the OnInitialUpdate member function belonging to all views in the frame window to be called. |
GetActiveFrame | Returns the active CFrameWnd object. |
SetActiveView | Sets the active CView object. |
GetActiveView | Returns the active CView object. |
CreateView | Creates a view within a frame that is not derived from CView. |
GetActiveDocument | Returns the active CDocument object. |
GetControlBar | Retrieves the control bar. |
GetMessageString | Retrieves message corresponding to a command ID. |
IsTracking | Determines if splitter bar is currently being moved. |
SetMessageText | Sets the text of a standard status bar. |
EnableDocking | Allows a control bar to be docked. |
DockControlBar | Docks a control bar. |
FloatControlBar | Floats a control bar. |
BeginModalState | Sets the frame window to modal. |
EndModalState | Ends the frame window’s modal state. Enables all of the windows disabled by BeginModalState. |
InModalState | Returns a value indicating whether or not a frame window is in a modal state. |
ShowOwnedWindows | Shows all windows that are descendants of the CFrameWnd object. |
RecalcLayout | Repositions the control bars of the CFrameWnd object. |
Overridables
OnCreateClient | Creates a client window for the frame. |
OnSetPreviewMode | Sets the application’s main frame window into and out of print-preview mode. |
GetMessageBar | Returns a pointer to the status bar belonging to the frame window. |
NegotiateBorderSpace | Negotiates border space in the frame window. |
Command Handlers
OnContextHelp | Handles SHIFT+F1 Help for in-place items. |