Mercurial > dwindows
comparison win/dw.c @ 209:85f25e8c1b1e
nMax is inclusive or exclusive?
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 01 Feb 2003 09:53:56 +0000 |
parents | 098ed34d41fb |
children | e57c182cac64 |
comparison
equal
deleted
inserted
replaced
208:5349a0735fda | 209:85f25e8c1b1e |
---|---|
5390 SCROLLINFO si; | 5390 SCROLLINFO si; |
5391 | 5391 |
5392 si.cbSize = sizeof(SCROLLINFO); | 5392 si.cbSize = sizeof(SCROLLINFO); |
5393 si.fMask = SIF_RANGE | SIF_PAGE; | 5393 si.fMask = SIF_RANGE | SIF_PAGE; |
5394 si.nMin = 0; | 5394 si.nMin = 0; |
5395 si.nMax = range; | 5395 si.nMax = range - 1; |
5396 si.nPage = visible; | 5396 si.nPage = visible; |
5397 SendMessage(handle, SBM_SETSCROLLINFO, (WPARAM)TRUE, (LPARAM)&si); | 5397 SendMessage(handle, SBM_SETSCROLLINFO, (WPARAM)TRUE, (LPARAM)&si); |
5398 } | 5398 } |
5399 | 5399 |
5400 /* | 5400 /* |