HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

GetSelText

Retrieves the currently selected (highlighted) text.

C

void SftMask_GetSelText(HWND hwndCtl, LPTSTR lpszText);

C++

void CSftMask::GetSelText(LPTSTR lpszText) const;

Parameters

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.

Comments

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


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