BCGControlBar Pro for MFC
void CBCGPGridCtrl::SetScrollBarsStyle ( CBCGPScrollBar::BCGPSB_STYLE  style)
inline

Tells the Grid Control to use either Windows standard, or owner draw scroll bar.

Use this method to tell the Grid Control 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 scroll bar style.