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 specific to an edit operation that has taken place in a date and time picker (DTP) control. This message is used with the DTN_USERSTRINGmessage.

Syntax

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

Members

nmhdr

NMHDRstructure that contains information about this message.

pszUserString

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

st

SYSTEMTIMEstructure that must be filled in by the owner when handling the message.

dwFlags

Specifies the return member. Set this member to GDT_VALID to indicate that the stmember is valid, or to GDT_NONE to set the control to no date status (DTS_SHOWNONE style only).

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

DTN_USERSTRING
NMHDR

Other Resources

SYSTEMTIME