NMDATETIMEWMKEYDOWNA structure (commctrl.h)
Carries information used to describe and handle a DTN_WMKEYDOWN notification code.
Syntax
typedef struct tagNMDATETIMEWMKEYDOWNA {
NMHDR nmhdr;
int nVirtKey;
LPCSTR pszFormat;
SYSTEMTIME st;
} NMDATETIMEWMKEYDOWNA, *LPNMDATETIMEWMKEYDOWNA;
Members
nmhdr
Type: NMHDR
A NMHDR structure that contains information about the notification code.
nVirtKey
Type: int
A virtual key code that represents the key that the user pressed.
pszFormat
Type: LPCTSTR
A zero-terminated substring, taken from the format string, that defines the callback field. The substring is one or more "X" characters, followed by a NULL.
st
Type: SYSTEMTIME
A SYSTEMTIME structure containing the current date and time from the DTP control. The owner of the control must modify the time information based on the user's keystroke.
Remarks
Note
The commctrl.h header defines NMDATETIMEWMKEYDOWN as an alias that 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 is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | commctrl.h |