<< Return to Main Index

< Return to Class Index

CGXTabWnd::Create

BOOL Create(CWnd* pParentWnd, LPCTSTR szFirstLabel, CCreateContext* pContext, DWORD dwStyle = WS_CHILD | WS_VISIBLE |  WS_HSCROLL | WS_VSCROLL, UINT nID = AFX_IDW_PANE_FIRST);

pParentWnd

Specifies the tab-beam’s parent window.

szFirstLabel

Specifies the name of the first sheet.

pContext

A pointer to a CCreateContext structure. This structure contains information about the view, the document and the frame. Simply use the pContext pointer from OnCreateClient.

dwStyle

Specifies the window’s style attributes.

nID

Specifies the window ID.

Remarks

Creates and initializes the window with its tab-beam and scrollbars and attaches it to the CGXTabWnd object.

Normally, you call this method within your OnCreateClient method of the frame window. See the description of this class for further instructions.

See Also

CGXTabWnd::CGXTabWnd

CGXTabWnd

Class Overview | Class Members