Jump to content

LM DELETEALL: Difference between revisions

From EDM2
Created page with "This message is sent to a list box control to delete all the items in the list box. ==Syntax== <pre> param1 ULONG ulReserved; Reserved value, should be 0.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==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..."
 
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:LM_DELETEALL}}
This message is sent to a list box control to delete all the items in the list box.
This message is sent to a list box control to delete all the items in the list box.



Latest revision as of 02:14, 28 April 2025

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.