CFrameWnd::Create

This method initializes the frame window’s class name and window name and register default values for its style, parent, and associated menu.

To construct a CFrameWnd object, invoke the constructor, which constructs the CFrameWnd object, then call Create, which creates the Windows CE frame window and attaches it to the CFrameWnd object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName,
DWORD
dwStyle = WS_OVERLAPPEDWINDOW,
const RECT&
rect = rectDefault, CWnd* pParentWnd = NULL,
LPCTSTR
lpszMenuName = NULL, DWORD dwExStyle = 0,
CCreateContext*
pContext = NULL );

See Also

CFrameWnd::CFrameWnd, CFrameWnd::LoadFrame, CCreateContext, CWnd::Create, CWnd::PreCreateWindow