This method is called after construction to create the frame window and load its resources.
virtual BOOL LoadFrame(
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.