BCGSuite for MFC
BCGPSCROLLBAR_DRAW_INFO

Detailed Description

The BCGPSCROLLBAR_DRAW_INFO structure is used for owner draw scroll bars. A pointer to this structure is supplied as a parameter for BCGM_ON_DRAW_SCROLLBAR message.

Public Attributes

 m_bCompactModeSpecifies whether the scroll bar element is hidden or fully-displayed.
 
 m_bDisabledSpecifies whether the scroll bar element is enabled, or disabled.
 
 m_bFirstTRUE if button is left or top, FALSE - right or bottom.
 
 m_bHighlightedSpecifies whether the element is highlighted, or not.
 
 m_bHorzSpecifies whether scroll bar is horizontal (TRUE), or vertical (FALSE)
 
 m_bPressedSpecifies whether the scroll bar element is pressed, or not.
 
 m_clrThumbCompactSpecifies thumb fill color (in the hidden mode). Should be filled in BCGM_ON_ERASE_COMPACT_SCROLLBAR message handler only.
 
 m_partSpecifies the element type to be drawn.
 
 m_pDCA pointer to a device context.
 
 m_pScrollBarA pointer to a scroll bar.
 
 m_rectBounding rectangle of an element to be drawn.