C++
CAdUiDockControlBar( int nStyle = ADUI_DOCK_CS_STDMOUSECLICKS );
Description
This is the class constructor. It takes a parameter that can be a combination of the following values:
ADUI_DOCK_CS_STDMOUSECLICKS: If set, this flag instructs the control bar to display a default context menu when the user right-clicks on the control bar. You can also add your own options to this menu. If not set, no context menu will appear by default.
ADUI_DOCK_CS_DESTROY_ON_CLOSE: If set, the control bar is destroyed when the user closes it. The default behavior is to hide the control bar.
Parameters
Parameters | Description |
---|---|
nStyle | Input control bar style |