DM_RESETSCROLL
4/8/2010
The DM_RESETSCROLL message is sent by a dialog box to reset scroll information when the dialog box redoes the re-layout of child controls after the Windows Embedded CE WM_INITDIALOG message is sent. A dialog box does not need to send this message if it does all layout of child controls at or before the WM_INITDIALOG message is sent.
The DM_RESETSCROLL message is supported only if the dialog box has the WS_VSCROLL style.
Syntax
DM_RESETSCROLL
wParam = (WPARAM)(BOOL) bScroll;
lParam = (LPARAM)(BOOL) bComp;
Parameters
- wParam
Boolean value; TRUE to scroll back to top if user scrolled dialog box and FALSE to leave dialog box in position that user scrolled.
- lParam
Boolean value; TRUE to recompute scroll information and FALSE to use previously computed scroll information.
Return Value
Returns non-zero if successful.
Requirements
Header | windowsm.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |