En fait c'est CScrollView::SetScrollSizes()
Sinon
CWnd::SetScrollInfo
BOOL SetScrollInfo(
int nBar,
LPSCROLLINFO lpScrollInfo,
BOOL bRedraw = TRUE
);
Parameters
nBar
Specifies whether the scroll bar is a control or part of a window's nonclient area. If it is part of the nonclient area, nBar also indicates whether the scroll bar is positioned horizontally, vertically, or both. It must be one of the following:
* SB_CTL Contains the parameters for a scroll bar control. The m_hWnd data member must be the handle of the scroll bar control.
* SB_HORZ Specifies that the window is a horizontal scroll bar.
* SB_VERT Specifies that the window is a vertical scroll bar.
lpScrollInfo
A pointer to a SCROLLINFO structure. See the Platform SDK for more information about this structure.
bRedraw
Specifies whether the scroll bar should be redrawn to reflect the new position. If bRedraw is TRUE, the scroll bar is redrawn. If it is FALSE, it is not redrawn. The scroll bar is redrawn by default.
Return Value
If successful, the return is TRUE. Otherwise, it is FALSE.