Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Use this method when you need to draw scrolling button's background.

virtualvoid OnToolBoxWndEraseScrollButton(
   CDC & dc,
   const CRect & rcBtn,
   bool bUpButton,
   bool bEnabled,
   bool bPushed
);

Parameters

pTBCI
Pointer to the item whose background should be repainted.
dc
Device context used for drawing.
rcBtn
Button rectangular area.
bUpButton
If set to true, the up arrow button is drawn; otherwise the down arrow button.
bEnabled
If set to true, the button is enabled; otherwise, disabled.
bPushed
If set to true, the button is pushed; otherwise, released.

See Also

CExtToolBoxWnd Overview | Class Members | Hierarchy Chart