BCGControlBar Pro for MFC
virtual void CBCGPToolBox::OnClickTool ( int  nPage,
int  nIndex 
)
virtual

Called by the framework when the user clicks a tool.

This function is called by the framework when the user clicks a tool. Override OnClickTool in a derived class to take additional actions. The default implementation sends the WM_COMMAND message to the owner of toolbox control.

Parameters
nPageSpecifies the current page index.
nIndexSpecifies the zero-based index of clicked tool.