BCGSuite for MFC
CBCGPToolBoxEx

Detailed Description

The CBCGPToolBoxEx class implements the same functionality as CBCGPToolBox, but it's derived from CBCGPTasksPane. This allows to add all features found in the toolbox control found in Microsoft Visual Studio 2005 development environment.

These features include an ability to view several toolbox pages at once, as well as expand and collapse them.

Because the extended toolbox class is derived from task pane, you can modify the visual style and content of pages (e.g. insert controls) as you would do it for a task pane control.

See also
CBCGPTasksPane, CBCGPTasksGroup, CBCGPTask, CBCGPToolBox, CBCGPToolBoxPage

Inherits CBCGPTasksPane.

Public Member Functions

 AddToolsPageAdds a new page to the toolbox control.
 
 AddToolsPageAdds a new page to the toolbox control.
 
 GetLastClickedToolRetrieves the currently selected tool.
 
 GetPageGiven the page number returns a pointer to page object.
 
 GetPageCountReturns a number of pages in an extended toolbox control.
 
 GetPageNumberGiven a pointer to a toolbox page object returns its zero-based index.
 
 GetSelectedToolsPageRetrivies a pointer to the currently selected toolbox page.
 
 IsShowDisabledItemsTells whether disabled toolbox items should be displayed.
 
 OnActivatePageCalled by the framework when the user activates a page.
 
 OnClickToolCalled by the framework when the user clicks a tool.
 
 OnShowToolboxMenuCalled by the framework when the toolbox context is about to be displayed.
 
 RemoveAllToolsPagesRemoves all pages from the Toolbox control.
 
 RemoveToolsPageRemoves a page from the Toolbox control.
 
 SetShowDisabledItemsSpecifies whether disabled toolbox items should be displayed.