0 out of 1 rated this helpful - Rate this topic

CWnd::EnableScrollBarCtrl

Enables or disables the scroll bar for this window.

void EnableScrollBarCtrl(
   int nBar,
   BOOL bEnable = TRUE 
);
nBar

The scroll-bar identifier.

bEnable

Specifies whether the scroll bar is to be enabled or disabled.

If the window has a sibling scroll-bar control, that scroll bar is used; otherwise the window's own scroll bar is used.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ