Skip to content

Latest commit

 

History

History
84 lines (68 loc) · 4.14 KB

ns-commctrl-nmdatetimeformatquerya.md

File metadata and controls

84 lines (68 loc) · 4.14 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:commctrl.tagNMDATETIMEFORMATQUERYA
NMDATETIMEFORMATQUERYA (commctrl.h)
Contains information about a date and time picker (DTP) control callback field. (ANSI)
*LPNMDATETIMEFORMATQUERYA
LPNMDATETIMEFORMATQUERY
LPNMDATETIMEFORMATQUERY structure pointer [Windows Controls]
NMDATETIMEFORMATQUERY
NMDATETIMEFORMATQUERY structure [Windows Controls]
NMDATETIMEFORMATQUERYA
NMDATETIMEFORMATQUERYW
_win32_NMDATETIMEFORMATQUERY
_win32_NMDATETIMEFORMATQUERY_cpp
commctrl/LPNMDATETIMEFORMATQUERY
commctrl/NMDATETIMEFORMATQUERY
commctrl/NMDATETIMEFORMATQUERYA
commctrl/NMDATETIMEFORMATQUERYW
controls.NMDATETIMEFORMATQUERY
controls._win32_NMDATETIMEFORMATQUERY
controls\NMDATETIMEFORMATQUERY.htm
Controls
VS|Controls|~\controls\datetime\structures\nmdatetimeformatquery.htm
12/05/2018
*LPNMDATETIMEFORMATQUERYA, LPNMDATETIMEFORMATQUERY, LPNMDATETIMEFORMATQUERY structure pointer [Windows Controls], NMDATETIMEFORMATQUERY, NMDATETIMEFORMATQUERY structure [Windows Controls], NMDATETIMEFORMATQUERYA, NMDATETIMEFORMATQUERYW, _win32_NMDATETIMEFORMATQUERY, _win32_NMDATETIMEFORMATQUERY_cpp, commctrl/LPNMDATETIMEFORMATQUERY, commctrl/NMDATETIMEFORMATQUERY, commctrl/NMDATETIMEFORMATQUERYA, commctrl/NMDATETIMEFORMATQUERYW, controls.NMDATETIMEFORMATQUERY, controls._win32_NMDATETIMEFORMATQUERY
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
NMDATETIMEFORMATQUERYW (Unicode) and NMDATETIMEFORMATQUERYA (ANSI)
Windows
NMDATETIMEFORMATQUERYA, *LPNMDATETIMEFORMATQUERYA
19H1
tagNMDATETIMEFORMATQUERYA
commctrl/tagNMDATETIMEFORMATQUERYA
LPNMDATETIMEFORMATQUERYA
commctrl/LPNMDATETIMEFORMATQUERYA
NMDATETIMEFORMATQUERYA
commctrl/NMDATETIMEFORMATQUERYA
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
NMDATETIMEFORMATQUERY
NMDATETIMEFORMATQUERYA
NMDATETIMEFORMATQUERYW

NMDATETIMEFORMATQUERYA structure

-description

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.

-struct-fields

-field nmhdr

Type: NMHDR

An NMHDR structure that contains information about this notification code.

-field 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.)

-field 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.

-remarks

Note

The commctrl.h header defines NMDATETIMEFORMATQUERY as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.