This structure 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 message.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
typedef struct tagNMDATETIMECHANGE {
NMHDR nmhdr;
DWORD dwFlags;
SYSTEMTIME st;
} NMDATETIMECHANGE, FAR * LPNMDATETIMECHANGE;
Members
nmhdr
NMHDR structure that contains information about the notification message.
dwFlags
Specifies if the control was set to “no date” status (for DTS_SHOWNONE only). Also specifies whether the contents of the st member are valid and contain current time information. It is one of the following values:
Value | Description |
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
SYSTEMTIME structure that contains information about the current system date and time.