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
Retrieves the currently selected (highlighted) text.
C
void SftMask_GetSelText(HWND hwndCtl, LPTSTR lpszText);
C++
void CSftMask::GetSelText(LPTSTR lpszText) const;
hwndCtl
The window handle of the masked edit control.
lpszText
The buffer receiving the selected text. The buffer must be at least SFTMASK_MAX_MASKEDTEXT characters.
Whether literal characters are included depends on the iClipMode field (see SFTMASK_CLIP Constants). SftMask_GetSelText_A and SftMask_GetSelText_W are explicit ANSI/Unicode variants.
See Also SetSelText | Selection | SFTMASK_CLIP Constants
