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
Sets the masked edit control's contents.
C
int SftMask_SetText(HWND hwndCtl, LPCTSTR lpszText);
C++
int CSftMask::SetText(LPCTSTR lpszText);
hwndCtl
The window handle of the masked edit control.
lpszText
The new contents. The text is validated against the edit mask as if typed.
The return value is the number of characters entered.
Whether the supplied text is expected to contain literal characters depends on the iClipMode field (see SFTMASK_CLIP Constants). SftMask_SetTextA and SftMask_SetTextW are explicit ANSI/Unicode variants.
Setting an empty string clears the control. If a default text is defined with SFTMASK_DEFAULT_IMMEDIATE handling, the default is applied to the emptied control.
See Also GetText | Default Text | SFTMASK_CLIP Constants
