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

Properties

m_bEnableDndDocumentTabs Specifies whether the tab items corresponding to the dynamic bars in the document mode can be drag-n-dropped.
m_nBarListInMenusCmdID Identifier of the menu item in menu resources which is replaced with a list of allocated dynamic control bars at runtime.

Classes

~CExtDynamicBarSite Destructor.
BarAlloc Creates a new dynamic control bar and returns its pointer if succeeded or NULL if failed.
BarEnumGetArray Returns a collection of dynamic control bars allocated in this dynamic bar site.
BarEnumGetCount Returns the number of dynamic control bars allocated in the dynamic bar site.
BarEnumGetNext Returns a position of the next dynamic control bar in the collection.
BarEnumGetStartPosition Returns the start position of dynamic control bars in the collection. Use this value to start traversing the collection.
BarFindByChildHWND Returns a pointer to the dynamic control bar that contains a child window specified by the window handle passed as an input argument.
BarFree Removes the specified dynamic control bar from the collection.
BarFreeAll Removes all simple dynamic controls bars or all persistent control bars or absolutely all dynamic control bars from the collection.
BarGetByCmdID Returns a pointer to the dynamic control bar by its command identifier if succeeded or NULL otherwise.
CExtDynamicBarSite Default constructor.
DockSiteGet Returns a pointer to the instance of the frame window class.
FindBarSite Returns a pointer to the instance of CExtDynamicBarSite by a window handle or by a pointer to any CWnd-based class. The method returns NULL if failed.
GetActiveMdiChildFrameHWND Returns information about the currently active MDI child frame. The method returns a valid HWND of the active child frame if succeeded or NULL otherwise.
GetDetectedUiType Returns the GUI type implemented in this application. The possible values are defined in the CExtDynamicBarSite::eDetectedUiType_t enumeration.
GetMdiClient Returns a window handle to the MDI client window if succeeded or NULL otherwise.
GetMdiTabs Returns a pointer to the instance of the CExtTabWnd class that implements the MDI tabs window if succeeded or NULL otherwise.
GetTabPageContainer Returns a pointer to the instance of the CExtTabPageContainerWnd class or NULL otherwise.
Install Initializes the instance of the CExtDynamicBarSite.
StateLoad Loads the GUI state of all the dynamic control bars in the dynamic bar site from the registry.
StateSave Saves the GUI state of all the dynamic control bars in the dynamic bar site to the registry.

Overridables

OnCmdMsg Called to route and dispatch command messages and to handle the update of command user-interface objects.
OnDbsAllocNewBarCommandID Called to allocate ID associated with a new dynamic control bar.
OnDbsCreateNewBarInstance Called to create a new instance of the dynamic control bar.
OnDbsFreeBarCommandID Called to free the dynamic control bar allocated by the CExtDynamicBarSite::BarAlloc() method.
OnPrepareBarsListInMenu Called to prepare a list of the dynamic control bars allocated in the dynamic bar site.
OnPreparePopupMenu Called to prepare the pop-up menu with a list of the dynamic control bars allocated in the dynamic bar site.
OnStartDraggingDocumentTabItem Called when a tab item in the MDI tab control or tab page container control is started dragging by user. Returns flag indicating whether the drag-n-drop of the tab item is enabled.
OnTabPageContainerClickedButton Called when a tab control button in the tab page container is clicked.
StateSerialize Reads or writes the GUI state of all dynamic control bars from or to an archive.

See Also

CExtDynamicBarSite Overview | Hierarchy Chart