BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnFillOutlookPageButton ( CDC *  pDC,
const CRect &  rect,
BOOL  bIsHighlighted,
BOOL  bIsPressed,
COLORREF &  clrText 
)
virtual

Called by the framework to fill the interior of an outlook page button.

Returns
This function should return FALSE if the current visual manager does not fill the interior of an outlook page button. In this case the interior will be filled by outlook bar (default processing). Returns TRUE if the buttons' interior is filled by the visual manager.

The OnFillOutlookPageButton function is called by the framework when an outlook bar is about to fill the interion of an outlook page button. Override this function in CBCGPVisualManager - derived class and return TRUE if you want to customize the outlook page button appearance. The default implementation returns FALSE.

Parameters
pDCA pointer to device context.
rectSpecifies the bounding rectangle of the outlook page button.
bIsHighlightedIf TRUE, the button is highlighted.
bIsPressedIf TRUE, the button is pressed.
clrTextSpecifies the text color of the outlook page button.