CPaneFrameWnd::Create
Creates a miniframe window and attaches it to the CPaneFrameWnd object.
virtual BOOL Create(
LPCTSTR lpszWindowName,
DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd,
CCreateContext* pContext = NULL
);
Parameters
[in] lpszWindowName
Specifies the text to display on the miniframe window.[in] dwStyle
Specifies the window style. For more information, see Window Styles.[in] rect
Specifies the initial size and position of the miniframe window.[in] [out] pParentWnd
Specifies the parent frame of the miniframe window. This value must not be NULL.[in] [out] pContext
Specifies user-defined context.
Return Value
TRUE if the window was created successfully; otherwise, FALSE.
Remarks
A miniframe window is created in two steps. First, the framework creates a CPaneFrameWnd object. Second, it calls Create to create the Windows miniframe window and attach it to the CPaneFrameWnd object.
Requirements
Header: afxPaneFrameWnd.h