다음을 통해 공유


CMDIFrameWndEx::LoadFrame

Creates a frame window from resource information.

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

Parameters

  • [in] nIDResource
    The ID of a shared resource associated with the frame window.

  • [in] dwDefaultStyle
    The style of the frame window.

  • [in] pParentWnd
    A pointer to the frame's parent.

  • [in] pContext
    A pointer to a CCreateContext Structure. This parameter can be NULL.

Return Value

TRUE if the method succeeds, otherwise FALSE.

Requirements

Header: afxmdiframewndex.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart