Windows Dev Center

NMDATETIMESTRING structure

Contains information specific to an edit operation that has taken place in a date and time picker (DTP) control. This message is used with the DTN_USERSTRING notification code.

Syntax


typedef struct tagNMDATETIMESTRING {
  NMHDR      nmhdr;
  LPCTSTR    pszUserString;
  SYSTEMTIME st;
  DWORD      dwFlags;
} NMDATETIMESTRING, *LPNMDATETIMESTRING;

Members

nmhdr

Type: NMHDR

An NMHDR structure that contains information about this notification code.

pszUserString

Type: LPCTSTR

The address of the zero-terminated string that the user entered.

st

Type: SYSTEMTIME

A SYSTEMTIME structure that must be filled in by the owner when handling the DTN_USERSTRING notification code.

dwFlags

Type: DWORD

The return field. Set this member to GDT_VALID to indicate that the st member is valid or to GDT_NONE to set the control to "no date" status (DTS_SHOWNONE style only).

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

NMDATETIMESTRINGW (Unicode) and NMDATETIMESTRINGA (ANSI)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft