BCGSuite for MFC
void CBCGPGanttChart::SetScrollBarsStyle ( CBCGPScrollBar::BCGPSB_STYLE  style)

Sets style of scroll bars.

Use this method to tell the Gantt Chart to use either Windows standard, or owner draw scroll bar. Owner draw scroll bar should be supported by current Visual Manager, or the developer should process the BCGM_ON_DRAW_SCROLLBAR message.

The style parameter can be one of the following values:

  • BCGP_SBSTYLE_DEFAULT: Windows default style (not owner draw)
  • BCGP_SBSTYLE_VISUAL_MANAGER: Defined by currently activated Visual Manager
  • BCGP_SBSTYLE_VISUAL_MANAGER_FRAME: Scroll bar is hosted by a frame window and drawn differently than in control
  • BCGP_SBSTYLE_OWNER_DRAW: A developer should handle BCGM_ON_DRAW_SCROLLBAR message
Parameters
styleSpecifies the style.