Export (0) Print
Expand All
Expand Minimize

CFrameWndEx::LoadFrame

This method is called after construction to create the frame window and load its resources.

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

[in] nIDResource

The resource ID that is used to load all frame resources.

[in] dwDefaultStyle

The default frame window style.

[in] pParentWnd

Pointer to the parent window of the frame. 

[in] pContext

Pointer to a CCreateContext Structure class that is used by the framework during application creation.

TRUE if the method was successful; otherwise, FALSE.

Header: afxframewndex.h

Show:
© 2014 Microsoft