SECCustomToolBar::Create

Creates the child window for the customizable toolbar and attaches it to the SECCustomToolBar object.

Defined in: tbarcust.cpp

Syntax

BOOL SECCustomToolBar::Create(CWnd* pParentWnd, DWORD dwStyle, UINT nID, LPCTSTR lpszTitle)

BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, UINT nID,DWORD dwStyle, DWORD dwExStyle, const RECT& rect, CWnd* pParentWnd,CCreateContext* pContext)

Return Value

BOOL TRUE if successful; otherwise FALSE.

Parameters

lpszClassName

Points to a string that names the class of the toolbar child window.

lpszWindowName

Points to a string that contains the toolbar’s name.

nID

The ID of the toolbar.

dwStyle

Specifies the toolbar’s style attributes.

dwExStyle

Specifies the extended style of the toolbar being created.

rect

The size and position of the toolbar, in client coordinates of pParentWnd.

pParentWnd

Pointer to the window that is the toolbar’s parent or owner.

pContext

Pointer to the create context of the toolbar.

lpszTitle

The title, if any, to appear in the toolbar’s title bar.