BCGSuite for MFC
virtual BOOL CBCGPToolBox::OnShowToolboxMenu ( CPoint  point,
CBCGPToolBoxPage pPage,
int  nHit 

Called by the framework when the toolbox context is about to be displayed.

pointSpecifies the menu location.
pPageA pointer to the active page.
nHitThe index of the selected toolbox element.
TRUE if it succeeds, FALSE if it fails.

By default this method does nothing. Override OnShowToolboxMenu in a derived class to display toolbox context menu.