This method loads the Windows CE frame window and associated resources and attach the frame window to the CFrameWnd object.
To construct a CFrameWnd object, invoke the constructor, which constructs the CFrameWnd object, and then call LoadFrame.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
MFC for Windows CE does not use the dwDefaultStyle parameter.
virtual BOOL LoadFrame( UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL );
CDocTemplate, CFrameWnd::Create, CFrameWnd::CFrameWnd, CWnd::PreCreateWindow