CSplitterWnd::CreateScrollBarCtrl

Called by the framework to create a shared scroll bar control.

virtual BOOL CreateScrollBarCtrl( 
   DWORD dwStyle, 
   UINT nID  
);

Parameters

  • dwStyle
    Specifies the window style.

  • nID
    The child window ID of the window. The ID can be AFX_IDW_PANE_FIRST unless the splitter window is nested inside another splitter window.

Return Value

Nonzero if successful; otherwise 0.

Remarks

Override CreateScrollBarCtrl to include extra controls next to a scroll bar. The default behavior is to create normal Windows scroll bar controls.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

AfxGetInstanceHandle