MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

CWnd::GetScrollLimit

Call this member function to retrieve the maximum scrolling position of the scroll bar.

int GetScrollLimit( 
   int nBar  
);
nBar

Specifies the type of scroll bar. The parameter can take one of the following values:

  • SB_HORZ   Retrieves the scroll limit of the horizontal scroll bar.

  • SB_VERT   Retrieves the scroll limit of the vertical scroll bar.

Specifies the maximum position of a scroll bar if successful; otherwise 0.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.