BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawTask ( CDC *  pDC,
CBCGPTask pTask,
CImageList *  pIcons,
BOOL  bIsHighlighted = FALSE,
BOOL  bIsSelected = FALSE 
)
virtual

Called by the framework to draw a task on the task pane.

The task is displayed as an icon and text (regular, selected or highlighted).

Parameters
pDCA pointer to a device context.
pTaskA pointer to the task to be drawn.
pIconsA pointer to the image list associated with the task pane. Each task contains an index of the image in this list.
bIsHighlightedSpecifies whether the displayed task is highlighted (TRUE) or not (FALSE).
bIsSelectedSpecifies whether the displayed task is selected (TRUE) or not (FALSE).