CMiniFrameWnd::Create

BOOL Create( LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd = NULL, UINT nID = 0);

Return Value

Nonzero if successful; otherwise 0.

Parameters

lpClassName

Points to a null-terminated character string that names the Windows class. The class name can be any name registered with the global AfxRegisterWndClass function. If NULL, the window class will be registered for you by the framework. MFC gives the default class the following styles and attributes:

lpWindowName

Points to a null-terminated character string that contains the window name.

dwStyle

Specifies the window style attributes. These can include standard window styles and one or more of the following special styles:

rect

A RECT structure specifying the desired dimensions of the window.

pParentWnd

Points to the parent window. Use NULL for top-level windows.

nID

If the mini-frame window is created as a child window, this is the identifier of the child control; otherwise 0.

Remarks

Creates the Windows mini-frame window and attaches it to the CMiniFrameWnd object. Create initializes the window’s class name and window name and registers default values for its style and parent.

CMiniFrameWnd OverviewClass MembersHierarchy Chart

See Also   CFrameWnd::Create, CWnd::Create, CWnd::CreateEx, CFrameWnd