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 is used with the DTN_FORMATQUERY message.

Syntax

typedef struct tagNMDATETIMEFORMATQUERY{
  NMHDR 
nmhdr;
  LPCTSTR 
pszFormat;
  SIZE 
szMax;
} NMDATETIMEFORMATQUERY, FAR* LPNMDATETIMEFORMATQUERY;

Members

nmhdr

NMHDRstructure that contains information about this 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

SIZEstructure that must be filled with the maximum size of the text to be displayed in the callback field.

Remarks

The NMDATETIMEFORMATQUERYstructure 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.

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

NMHDR