EM SETINSERTMODE
Appearance
This message sets the insert mode of an entry field.
Syntax
param1 USHORT usInsert; /* Insert mode indicator. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- usInsert (USHORT) - input
- Insert mode indicator.
- TRUE: Enable insert mode.
- FALSE: Enable overtype mode.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (BOOL) - return
- Previous insert mode indicator.
- TRUE: Insert mode was previously enabled.
- FALSE: Overtype mode was previously enabled.
Remarks
The entry field control window procedure responds to this message by setting the insert mode of the entry field, updating the SV_INSERTMODE system constant and redrawing the entry field.
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.