DTM_SETSYSTEMTIME message
Sets the time in a date and time picker (DTP) control. You can send this message explicitly or use the DateTime_SetSystemtime macro.
Parameters
-
wParam
-
A value specifying the action that should be performed. This value must be set to one of the following:
Value Meaning - GDT_VALID
Set the DTP control according to the data within the structure that lParam points to. - GDT_NONE
Set the DTP control to "no date" and clear its check box. When this flag is specified, lParam is ignored. This flag applies only to DTP controls that are set to the DTS_SHOWNONE style. -
lParam
-
A pointer to a SYSTEMTIME structure containing the system time used to set the DTP control.
Return value
Returns nonzero if successful, or zero otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|