NMDATETIMESTRING

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

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

Members

nmhdr

NMHDR structure that contains information about this notification message.

pszUserString

Pointer to the null-terminated string that the user entered.

st

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

dwFlags

Specifies the return member. 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).