This structure is used with the DTN_FORMATQUERY notification message.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
typedef struct tagNMDATETIMEFORMATQUERY{
NMHDR nmhdr;
LPCTSTR pszFormat;
SIZE szMax;
} NMDATETIMEFORMATQUERY, FAR * LPNMDATETIMEFORMATQUERY;
Members
nmhdr
NMHDR structure that contains information about this notification message.
pszFormat
Pointer to a null-terminated substring that defines a DTP control callback field. The substring is one or more “X” characters followed by a NULL.
szMax
SIZE structure that must be filled with the maximum size of the text to be displayed in the callback field.
Remarks
The NMDATETIMEFORMATQUERY structure contains information about a date and time picker (DTP) control callback field. It contains a substring (taken from the control’s format string) that defines a callback field. The structure receives the maximum allowable size of the text that will be displayed in the callback field.