Jump to content

LM_DELETEALL

From EDM2
Revision as of 02:14, 28 April 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent to a list box control to delete all the items in the list box.

Syntax

param1
ULONG ulReserved;  /* Reserved value, should be 0. */

param2
ULONG ulReserved;  /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - input
Reserved value, should be 0.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

rc (BOOL) - return
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred.

Remarks

The list box control window procedure responds to this message by deleting all the items in the list box and by setting rc to TRUE.

Default Processing

The default window procedure does not expect to receive this message and, therefore, takes no action on it, other than to set rc to the default value of FALSE.