DTM_SETSYSTEMTIMEDTM_SETSYSTEMTIME*
*Contents  *Index  *Topic Contents
*Previous Topic: DTM_SETRANGE
*Next Topic: Date and Time Picker Control Macros

DTM_SETSYSTEMTIME


DTM_SETSYSTEMTIME
    wParam = (WPARAM) flag;
    lParam = (LPARAM) lpSysTime;

Sets the time in a date and time picker (DTP) control. You can send this message explicitly or use the DateTime_SetSystemtime macro.

flag
Value specifying the action that should be performed. This value must be set to one of the following:
GDT_VALID Set the DTP control according to the data within the structure that lpSysTime points to.
GDT_NONE Set the DTP control to "no date" and clear its check box. When this flag is specified, lpSysTime is ignored. This flag applies only to DTP controls that are set to the DTS_SHOWNONE style.
lpSysTime
Address of a SYSTEMTIME structure containing the system time used to set the DTP control.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.