HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

Insert/Overtype Mode

SftMask/DLL supports both insert and overtype mode.

Insert ModeOvertype Mode

Insert mode is the standard mode for edit controls. A vertical bar shows the insertion point.

Overtype mode is visually indicated by the selection which is automatically extended to include one character position (if possible). If data entry is not possible, the selection is not extended and only the insertion point is shown.

The user switches between insert and overtype mode using the Insert key. The application can switch between modes using the fInsert field of the SFTMASK_CONTROL structure.

The iInputMode field is used to define the control's insert/overtype mode behavior (see SFTMASK_INPUT Constants). The mode can be fixed (insert only), per control, per entry or application-global.

To allow an application to display the current insert/overtype mode, e.g., in a status bar, the NM_SFTMASK_INPUTMODEUPDATE notification is used to notify the application of any mode change that may occur, through user interaction, input focus change or application driven changes. By responding to the NM_SFTMASK_INPUTMODEUPDATE notification, an application is guaranteed to be notified of the current input mode.

See Also SFTMASK_INPUT Constants | Keyboard & Mouse Interface | Notifications


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.