The information in this article applies to:
SYMPTOMSThe scroll position may be reported incorrectly when SB_THUMBPOSITION and SB_THUMBTRACK scroll notifications are received. CAUSEWindows CE maps the scroll position into the range 0 - (nMax - nMin) where 0 is the minimum scroll position and (nMax - nMin) is the maximum scroll position. nMin and nMax are the minimum and maximum scroll positions set by calling SetScrollRange or SetScrollInfo. RESOLUTIONWhen handling SB_THUMBPOSITION and SB_THUMBTRACK notifications, add the minimum scroll position to the position reported in the WM_HSCROLL or WM_VSCROLL message (nPos) to obtain the actual position. Sample Code
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Additional query words:
Keywords : kbcode kbCtrl kbSDKPlatform kbGrpUser kbWinCE100bug kbWinCE200bug kbWinCE210bug |
Last Reviewed: December 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |