Share via


NMDATETIMECHANGE (Compact 2013)

3/28/2014

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
    NMHDR structure 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 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.

Requirements

Header

commctrl.h

See Also

Reference

Date and Time Picker Controls Structures
NMHDR

Other Resources

SYSTEMTIME