BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnHighlightMenuItem ( CDC *  pDC,
CBCGPToolbarMenuButton pButton,
CRect  rect,
COLORREF &  clrText 
)
virtual

Called by the framework to draw a highlighted menu item.

The default implementation uses the standard background color to fill the rect area of a menu item. Override this member function in your CBCGPVisualManager - derived class to customize the appearance of highlighted menu items.

In addition, you may modify a highlighted item's text color.

Parameters
pDCA pointer to a device context of a menu.
pButtonA pointer to a toolbar menu button object to display (is not used by the default implementation).
rectSpecifies the bounding rectangle of a menu item to be displayed.
clrTextSpecifies the current text color of highlighted menu items (is not used by the default implementation).