Export (0) Print
Expand All

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:

ValueMeaning
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft