Jump to content

EM CLEAR

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

This message deletes the text that forms the current selection.

Syntax

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

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

Parameters

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

Returns

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

Remarks

The entry field control window procedure responds to this message by deleting the text that forms the current selection and setting usmaxsel equal to usminsel.

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.