BCGControlBar Pro for MFC
virtual int CBCGPColorMenuButton::OnDrawOnCustomizeList ( CDC *  pDC,
const CRect &  rect,
BOOL  bSelected 

Called by the framework when the button is being displayed in the toolbar customization dialog list

A width of the button.

This member function is called by the framework when a CBCGPColorMenuButton object is being displayed in the list box during toolbar customization process.

pDCA pointer to a device context
rectSpecifies a visible rectangular area
bSelectedSpecifies whether the button in selected state

Reimplemented from CBCGPToolbarMenuButton.