Jump to content

CBM SHOWLIST

From EDM2
Revision as of 23:31, 20 April 2025 by Martini (talk | contribs) (Created page with "This message sets the showing state of the list box control. ==Syntax== <PRE> param1 USHORT usShowing; Showing indicator.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;usShowing (USHORT) - Input : Showing indicator. ::TRUE: Show the list box control. ::FALSE: Do not show the list box control. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;rc (BOOL) - returns : Changed indicator. ::TRU...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message sets the showing state of the list box control.

Syntax

param1
USHORT usShowing;   /* Showing indicator. */

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

Parameters

usShowing (USHORT) - Input
Showing indicator.
TRUE: Show the list box control.
FALSE: Do not show the list box control.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Changed indicator.
TRUE: The list box showing state has been changed.
FALSE: The list box showing state has not been changed.

Remarks

The combo box control window procedure responds to this message by setting the showing state of the list box control.

This message has no effect on a combo box control whose style is CBS_SIMPLE.

Hiding the list box control has no effect on the selection in the list box control. The selection in the list box control must be changed by the use of a LM_SELECTITEM message.

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.