|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This message sets the time in a date and time picker (DTP) control.
DTM_SETSYSTEMTIME wParam = (WPARAM) flag; lParam = (LPARAM) lpSysTime;
Specifies the action that should be performed. It is one of the following values.
Sets the DTP control according to the data within the structure that lpSysTimepoints to.
Sets the DTP control to "no date" and clear its check box. lpSysTimeis ignored when this flag is specified. This flag applies only to DTP controls that are set to the DTS_SHOWNONE style.
Long pointer to a SYSTEMTIMEstructure that contains the system time used to set the DTP control.
Nonzero indicates success. Zero indicates otherwise.
|Windows Embedded CE||Windows CE 2.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|