Sets the time in a date and time picker (DTP) control. You can send this message explicitly or use the DateTime_SetSystemtime macro.
A value specifying the action that should be performed. This value must be set to one of the following:
Set the DTP control according to the data within the structure that lParam points to.
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.
A pointer to a SYSTEMTIME structure containing the system time used to set the DTP control.
Returns nonzero if successful, or zero otherwise.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|