SetScrollInfo (hwnd, SB_VERT, &si, TRUE);
if (hwnd) SetScrollInfo (hwnd, SB_VERT, &si, TRUE);
void set_sbar (int total, int start, int page) {    SCROLLINFO si;    si.cbSize = sizeof(si);    si.fMask = SIF_RANGE | SIF_PAGE | SIF_POS | SIF_DISABLENOSCROLL;    si.nMin = 0;    si.nMax = total - 1;    si.nPage = page;    si.nPos = start;    SetScrollInfo (hwnd, SB_VERT, &si, TRUE);}