Board index » Visual Studio » GetScrollRange(, &maxpos) & GetScrollLimit()
|
kasra
|
|
kasra
|
GetScrollRange(, &maxpos) & GetScrollLimit()
Visual Studio239
Env: WindowsXP, VC++6.00 Who would like to tell me why maxpos1 != maxpos2 by the following two functions CScrollBar *pScrollBar; int maxpos1; int maxpos2; (1)pScrollBar->GetScrollRange(, &maxpos1) ; (2)maxpos2 = pScrollBar->GetScrollLimit(); TIA William - |
