HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

SetDefaultValue

Applies the default text to an empty control.

C

void SftMask_SetDefaultValue(HWND hwndCtl);

C++

void CSftMask::SetDefaultValue();

Parameters

hwndCtl

The window handle of the masked edit control.

Comments

If the control is empty and a default text is defined (lpszDefaultText field of the SFTMASK_CONTROL structure), the default text is entered as if typed. Special values such as =Today and =Now are supported (see Default Text). If the control is not empty, the call has no effect.

See Also Default Text | SFTMASK_DEFAULT Constants


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