Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The DM_RESETSCROLLmessage 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_INITDIALOGmessage 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_RESETSCROLLmessage 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; TRUEto scroll back to top if user scrolled dialog box and FALSEto leave dialog box in position that user scrolled.

lParam

Boolean value; TRUEto recompute scroll information and FALSEto 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

See Also