The CFrameWnd class encapsulates the functionality of a Windows single document interface (SDI) frame window. A frame window is a window that frames an application. In Windows CE, it usually contains a view window and a command bar.
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
One of the most interesting new features in Windows CE is command bars, which combines the functionality of a menu bar and a tool bar. MFC for Windows CE supports command bars with the following new member functions, which have been added to the CFrameWnd class.
CFrameWnd::AddAdornments
CFrameWnd::AddBitmap
MFC for Windows CE also supports a new data member of the CFrameWnd class. The m_hCommandBar member is the window handle to the frame window's command bar.
For more information on command bars and command bar buttons, see the following topics.
MFC for Windows CE does not support the following member functions of the CFrameWnd class.
DockControlBar
EnableDocking
FloatControlBar
GetControlBar
GetDockState
GetMessageBar
GetMessageString
LoadAccelTable
LoadBarState
NegotiateBorderSpace
OnContextHelp
OnSetPreviewMode
RecalcLayout
SaveBarState
SetDockState
SetMessageText
ShowControlBar
CFrameWnd Member Functions, CFrameWnd Data Members, Frame Windows and Splitter Windows, CWnd, CView, CDocTemplate, CRuntimeClass