Поделиться через


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

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetScrollBarCtrl