NMDATETIMECHANGE structure (commctrl.h)

Contains information about a change that has taken place in a date and time picker (DTP) control. This structure is used with the DTN_DATETIMECHANGE notification code.

Syntax

typedef struct tagNMDATETIMECHANGE {
  NMHDR      nmhdr;
  DWORD      dwFlags;
  SYSTEMTIME st;
} NMDATETIMECHANGE, *LPNMDATETIMECHANGE;

Members

nmhdr

Type: NMHDR

An NMHDR structure that contains information about the notification code.

dwFlags

Type: DWORD

A value that indicates if the control was set to "no date" status (for DTS_SHOWNONE only). This flag also specifies whether the contents of the st member are valid and contain current time information. This value can be one of the following:

Value Meaning
GDT_NONE
The control is set to "no date" status. The "no date" status applies only to controls that are set to the DTS_SHOWNONE style.
GDT_VALID
The control is not set to the "no date" status. The st member contains the current date and time.

st

Type: SYSTEMTIME

A SYSTEMTIME structure that contains information about the current system date and time.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h