DTN_WMKEYDOWN notification code
Sent by a date and time picker (DTP) control when the user types in a callback field. This notification code is sent in the form of a WM_NOTIFY message.
DTN_WMKEYDOWN
lpDTKeystroke = (LPNMDATETIMEWMKEYDOWN)lParam;
-
lParam
-
A pointer to an NMDATETIMEWMKEYDOWN structure containing information about this instance of the notification code. The structure includes information about the key that the user typed, the substring that defines the callback field, and the current system date and time.
The owner of the control must return zero.
Handling this notification code allows the owner of the control to provide specific responses to keystrokes within the callback fields of the control.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Unicode and ANSI names |
DTN_WMKEYDOWNW (Unicode) and DTN_WMKEYDOWNA (ANSI) |