HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

SetDateTime

Sets the masked edit control's contents from a date/time value.

C

BOOL SftMask_Contents_SetDateTime(HWND hwndCtl, const DATE* lpDate);

C++

BOOL CSftMask::SetDateTime(const DATE* lpDate);

Parameters

hwndCtl

The window handle of the masked edit control.

lpDate

The address of the DATE value to enter.

Returns

The return value is TRUE if the date/time was entered successfully.

Comments

The edit mask must contain date and/or time field tokens (see Edit Masks). The date/time is formatted into the mask's date and time fields using the user's locale.

See Also GetDateTime | SetValue | Edit Masks | Popup Calendar


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