HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

GetDateTime

Retrieves the masked edit control's contents as a date/time value.

C

BOOL SftMask_Contents_GetDateTime(HWND hwndCtl, DATE* lpDate);

C++

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

Parameters

hwndCtl

The window handle of the masked edit control.

lpDate

The address of a DATE value receiving the date/time.

Returns

The return value is TRUE if the date/time was retrieved successfully. FALSE is returned if the entered date is not valid.

Comments

The edit mask must contain date and/or time field tokens (see Edit Masks). The date is validated against the calFirstDate and calLastDate fields.

See Also SetDateTime | GetValue | Edit Masks | Popup Calendar


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