HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

Selection

Various fields and functions are available to manipulate the selection (highlighted) text.

iClipModeDefines how text is cut and pasted and the behavior of the GetText, SetText, GetSelText, SetSelText and Contents_GetValue functions - with or without literal characters (see SFTMASK_CLIP Constants).
iEntrySelectDefines whether the contents are automatically selected when the control receives the input focus (see SFTMASK_ENTRY Constants).
fEntrySelectMouseDefines whether mouse clicks honor the iEntrySelect field setting.
selStart, selEndThe start and end of the selected characters (fields of the SFTMASK_CONTROL structure). selStart is also the current insertion point or caret location. Any character typed by the user is inserted at this position. If selStart and selEnd are equal, there is no selection.
GetSelText, SetSelTextRetrieve or replace the contents of the selected (highlighted) area.

See Also GetSelText | SetSelText | SFTMASK_CLIP Constants | SFTMASK_ENTRY Constants | SFTMASK_CONTROL


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