Important:
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.
A version of this page is also available for
4/8/2010

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 message.

Syntax

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

Members

nmhdr

NMHDRstructure that contains information about the message.

dwFlags

Specifies if the control was set to no date status (for DTS_SHOWNONE only). This parameter also specifies whether the contents of the stmember 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 stmember contains the current date and time.

st

SYSTEMTIMEstructure that contains information about the current system date and time.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

NMHDR

Other Resources

SYSTEMTIME