CFrameWnd::LoadFrame

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.

At a Glance

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

Remarks

MFC for Windows CE does not use the dwDefaultStyle parameter.

Syntax

virtual BOOL LoadFrame( UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL );

See Also

CDocTemplate, CFrameWnd::Create, CFrameWnd::CFrameWnd, CWnd::PreCreateWindow