BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBoxEx::OnShowToolboxMenu ( CPoint  point,
CBCGPToolBoxPage pPage,
int  nHit 
)
virtual

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

Parameters
pointSpecifies the menu location.
pPageA pointer to the active page.
nHitThe index of the selected toolbox element.
Returns
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.