Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

g_bAllowAutohideTabsOleDropTarget Flag that enables/disables toolbar activation when the mouse pointer is over a toolbar that is in the auto-hide mode during drag-n-drop operations. NOTE: OLE should be once initialized by calling AfxOleInit() first.
g_bAllowDynamicTabsOleDropTarget Flag that enables/disables activation of a toolbar that is in a tab container when the mouse pointer is over the tab during drag-n-drop operations. NOTE: OLE should be once initialized by calling AfxOleInit() first.
g_bAllowKeyboardAutohideSwitch Flag that enables/disables switching between hidden resizable bars with Ctrl+PageUp and Ctrl+PageDown keys in the auto-hide mode.
g_bAllowKeyboardTabSwitch Flag that enables/disables switching between resizable bars inside one tabbed group with Ctrl+PageUp and Ctrl+PageDown keys.
g_bCloseOnlyOneBarInTabGroup Enables/disables hiding of only the selected control bar in a tabbed bar group when the X button is pressed. By default, the entire tabbed bar group becomes hidden.
g_bDisableAutoHideAnimationCollapsing Flag that enables/disables the auto-hide animation when collapsing.
g_bDisableAutoHideAnimationExpanding Flag that enables/disables the auto-hide animation when expanding.
g_bTabsAtTop Indicates that the tab window inside tabbed control bar groups is at the top for all the control bar groups if this property is true. By default, the tab window is at the bottom.
g_bUseAdvancedToolTips Indicates that the advanced tooltip window for Prof-UIS control bars is used if if this property is true is true; the default tooltip common control otherwise.
g_bUseMouseClickOnlyInAutoHideTabs Indicates that the tab items in the grouped auto hide areas should display auto-hidden bars when they clicked and do not display bars when they covered by mouse pointer.
g_eAutoHideTabsType Specifies how the tab area with auto hidden control bars looks like.
g_eResizablePanelDockingType Specifies how the drag-and-drop algorithm works with respect to resizable bars.
g_nAutoHideAnimationStepCount Number of steps in the auto-hide animation.
g_nAutoHideAnimationStepTime Number of milliseconds between steps in the auto-hide animation.

Classes

AutoHideModeGet Detects whether the resizable control bar is hidden in the frame's auto hide area (i.e. the auto-hide mode is on). This method should be used with resizable control bars only.
AutoHideModeSet Turns on or turns off the auto-hide mode for the resizable control bar or the group of bars that are inside the dynamic tab container. This method should be used with resizable control bars only. The resizable control bar should not be docked into the floating container before the call of this method. If the control bar is already inside the tab container, invoking the method changes the auto-hide mode for all the bars being in this tab container.
CExtControlBar Default constructor.
Create Creates the enhanced control bar. This method is used to create either the CExtControlBar object or the CExtControlBar-based objects such as CExtToolControlBar and CExtMenuControlBar.
DockControlBar Docks the resizable control bar in the main frame window (a dock site) by creating a new row for it. This method should be used instead of CFrameWnd::DockControlBar() for all resizable control bars. The second overridable docks the other control bar specified by pBar into its own row using the horizontal half-split of its own window area.
DockControlBarInnerOuter Docks the control bar to a new row/column at the most inner/outer part of the frame window.
DockControlBarIntoTabbedContainer Docks the other control bar specified by pBar either into the existing dynamic tab container, or into the newly created tab container enclosing both two bars. This method should be used with resizable control bars only.
DockControlBarLTRB Docks the control bar next to another control bar, which is already docked, so that two control bars share the very same area occupied by the control bar that was initially docked.
DoFrameBarCheckCmd Handles the show/hide command for the control bar with its associated dialog control identifier in the frame window. This static method can be used to show or hide any control bar, to activate a non-selected resizable control bar (e.g. a dynamic tabbed container or a floating container) in any part of the frame, or to activate a resizable control bar currently hidden in the auto-hide area, with the slide animation effect.
DoFrameBarCheckUpdate Performs updates for the control bar show/hide command in the frame window by using the CCmdUI object.
FloatControlBar Moves the control bar into its separate floating container to the last floating position. For resizable bars this method should be used instead of CFrameWnd::FloatControlBar().
FrameEnableDocking Enables the control bar to be dragged on the frame window. This static method is an enhanced replacement of CFrameWnd::EnableDockingMethod(). It is strongly advisable to use the FrameEnableDocking method instead of CFrameWnd::EnableDockingMethod() in your application.
FrameInjectAutoHideAreas Enables the MS Visual Studio .NET like auto-hide feature for all resizable control bars in the frame window. This static method should be called immediately after the CExtControlBar::FrameEnableDocking() method returns. By default, all resizable control bars in the frame window have only one X button hiding its bar. The auto hide feature adds the push-pin button to all bars.
GetSafeDockBarDlgCtrlID Returns the dialog control identifier of the parent CDockBar-based window. If the control bar is created in a "no frame" window or it is not enabled to be dragged across the sides of the frame window, the AFX_IDW_DOCKBAR_FLOAT value is returned.
IsBarWithGripper Detects whether the control bar has a gripper.
IsCloseOnlyOneBarInTabGroup Detects whether only this bar becomes hidden when it is selected in the tabbed bar and X-button on the caption of the group is pressed.
IsFixedMode Detects whether this bar has a fixed size (like tool bars). Otherwise, it is a resizable panel.
IsMaximizedOnRow Detects whether the control bar has the maximum possible size. If true, all the other bars in this row are minimized.
IsMinimizedOnRow Detects whether this resizable bar has the minimum possible size.
IsOleIpObjActive Helper method that specifies whether an OLE object is in-place activated in the frame window.
IsSingleOnRow Detects whether or not the bar is single on a row.
MakeSingleOnRow Makes the control bar single in a row. All the control bars that are on the left or right side of this bar in the case of the horizontal row, or all the upper and lower control bars in the case of the vertical row will be reorganized into new rows.
MaximizeOnRow Changes the size of the resizable bar to its maximum possible value which is determined by the minimum possible size of all other resizable bars in the same row.
MinimizeOnRow Changes the size of the resizable bar to its minimum possible value.
ProfileBarStateIsSerializing Returns true if the control bar is being serialized or false otherwise.
ProfileBarStateLoad Loads the frame window and the information about the positions of all its control bars from the registry.
ProfileBarStateSave Saves the frame window and the information about the positions of all its control bars from the registry.
ProfileBarStateSerialize Serializes the frame window and the information about the positions of all its control bars by using the CArhive object.
SafeDisplayBar Shows the control bar. This method is used by the invisible menu bar when a user activates the frame menu by pressing the ALT key with an underlined letter key.
SetInitDesiredPosFloating Sets the desired position of the floating control bar.
SetInitDesiredSizeFloating Sets the desired size of the control bar for the floating state.
SetInitDesiredSizeHorizontal Sets the desired size of the control bar for the horizontal docked state
SetInitDesiredSizeVertical Sets the desired size of the control bar for the vertical docked state.
TearOffCommandGet Returns an identifier of the command that specifies the tear-off pop-up menu item or toolbar button with tear-off popup menu. The tear-off tracking algorithm uses the returned command identifier to associate the pop-up menu with this control bar.
TearOffCommandSet Sets the identifier of the command that specifies the tear-off pop-up menu item or toolbar button with tear-off popup menu. The tear-off tracking algorithm uses the returned command identifier to associate the pop-up menu with this control bar.
ToggleDocking Toggles the docked state of the control bar.

Overridables

OnAdvancedPopupMenuTipWndDisplay Invoked to show the tooltip window using the specified parameters.
OnAdvancedPopupMenuTipWndGet Invoked to get a pointer to the advanced tooltip window implemented in the CExtPopupMenuTipWnd class. This tooltip window is used to display tip information for buttons in the toolbar and buttons in the caption of the control bar and´┐Ż floating mini frame window. If the method returns NULL, the standard tooltip window is used instead.
OnGetBarCaptionText Called to request the appropriate text for the control bar.

See Also

CExtControlBar Overview | Hierarchy Chart