SECDialogBar Class

class SECDialogBar: public SECControlBar

SECDialogBar is an interface equivalent replacement for CDialogBar and serves as the base class for all of your dialog bars.

Defined in: sbardlg.h

Comments

SECDialogBar does nothing more than rederive from  SECControlBar, so that all member variables and implementation details exist to facilitate sizing while docked, etc. No member variables or functions are introduced by this class. (NOTE: All dialog bars formally derived from CDialogBar must be rederived from SECDialogBar. No CDialogBars are allowed when using Objective Toolkit’s docking window enhancements as they lack the member variables required to perform the sizing calculations.)

See the VIZ sample in the \SAMPLES\TOOLKIT\STANDARD\DOCKING\VIZ directory for a demonstration of this class.

See Also

SECControlBar  SECToolbar

Class Members

SECDialogBar()

Constructs an SECDialogBar object.

BOOL  Create(CWnd* pParentWnd, UINT nIDTemplate,UINT nStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,DWORD dwExStyle = CBRS_EX_STDCONTEXTMENU, UINT nID = 1)

Creates an instance of SECDialogBar.

BOOL  Create(CWnd* pParentWnd, LPCTSTR lpszTemplateName,UINT nStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,DWORD dwExStyle = CBRS_EX_STDCONTEXTMENU, UINT nID = 1)

Creates an instance of SECDialogBar.