BCGControlBar Pro for MFC
CBCGPMainClientAreaWnd

Detailed Description

The CBCGPMainClientAreaWnd class is merely a helper class that allows to simplify implementation of MDI tabs and MDI Tabbed Groups.

An object of this class is embedded into CBCGPMDIFrameWnd and serves as a wrapper for CBCGPTabWnd. In addition, it maintains a list of images to be displayed as document icons on the tabs.

In case of MDI Tabbed Groups feature, this class maintains a list of CBCGPTabWnd objects and provides a base API to manipulate them. Usually, you don't need to access this API directly, all required methods are exposed by CBCGPMDIFrameWnd.

See also
CBCGPMDIFrameWnd, CBCGPTabWnd, CBCGPTabView

Inherits TBCGPInternalScrollBarWrapperWnd< T >.

Public Member Functions

 CBCGPMainClientAreaWndConstructs a CBCGPMainClientAreaWnd object.
 
 DoesMDITabExistDetermines whether the MDI tab window is enabled (shown) or not.
 
 EnableMDITabsEnables or disables MDI tabs.
 
 GetMDITabsGives the access to the embedded CBCGPTabWnd object.
 
 SetActiveTabSets the active tab.
 
 UpdateTabsSynchronizes the tab's icon and text with MDI child window icon and text.