SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Replaces the currently selected (highlighted) text.
C
BOOL SftMask_SetSelText(HWND hwndCtl, LPTSTR lpszText);
C++
BOOL CSftMask::SetSelText(LPTSTR lpszText);
hwndCtl
The window handle of the masked edit control.
lpszText
The replacement text. The text is validated against the edit mask as if typed.
The return value is TRUE if the text was entered successfully.
Whether the supplied text is expected to contain literal characters depends on the iClipMode field (see SFTMASK_CLIP Constants). SftMask_SetSelText_A and SftMask_SetSelText_W are explicit ANSI/Unicode variants.
See Also GetSelText | Selection | SFTMASK_CLIP Constants
