CScrollView::CheckScrollBars
Call this member function to determine if the scroll view has horizontal and vertical bars.
void CheckScrollBars(
BOOL& bHasHorzBar,
BOOL& bHasVertBar
) const;
Parameters
bHasHorzBar
Indicates the application has a horizontal scroll bar.bHasVertBar
Indicates the application has a vertical scroll bar.
Requirements
Header: afxwin.h