BCGControlBar Pro for MFC
virtual void CBCGPHeaderCtrl::OnDrawItem ( CDC *  pDC,
int  iItem,
CRect  rect,
BOOL  bIsPressed,
BOOL  bIsHighlighted 
)
protectedvirtual

Called by the framework when a header control item should be drawn.

OnDrawItem is called by the framework to draw a header control item.

Parameters
pDCA pointer to a device context.
iItemA zero-based index of the item to be drawn.
rectSpecifies the bounding rectangle of the item to be drawn.
bIsPressedSpecifies whether the item to be drawn is pressed or not.
bIsHighlightedSpecifies whether the item to be drawn is highlighted or not.