Windows Dev Center

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. This structure is used with the DTN_FORMATQUERY notification code.

Syntax


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

Members

nmhdr

Type: NMHDR

An NMHDR structure that contains information about this notification code.

pszFormat

Type: LPCTSTR

A pointer to a substring that defines a DTP control callback field. The substring is one or more "X" characters followed by a NULL. (For additional information about callback fields, see Callback fields.)

szMax

Type: SIZE

A SIZE structure that must be filled with the maximum size of the text that will be displayed in the callback field.

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

NMDATETIMEFORMATQUERYW (Unicode) and NMDATETIMEFORMATQUERYA (ANSI)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft