BCGControlBar Pro for MFC
virtual void CBCGPEditCtrl::OnDrawOutlineButton ( CDC *  pDC,
CRect  rectButton,
CBCGPOutlineBaseNode pRowOutlineBlock,
BOOL  bInsideOpenBlockAtStart,
BOOL  bInsideOpenBlockAtEnd,
BOOL  bEndOfBlock 
)
virtual

Called when the edit control needs to draw an outline button.

OnDrawOutlineButton is called when the edit control needs to draw an outline button. Override it in a derived class to customize appearance of outline buttons.

The default implementation draws a small rectangle with a cross.

Parameters
pDCA pointer to device context.
rectButtonA bounding rectangle of the button.
pRowOutlineBlockA pointer to the collapsible node for this outline button. It is used to retrieve the state of the node.
bInsideOpenBlockAtStartSpecifies whether the collapsible node is continued from the previous row.
bInsideOpenBlockAtEndSpecifies whether the collapsible node is continued on the next row.
bEndOfBlockIf TRUE, draws the end of collapsible node.