Rediger

Del via


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;

Parameters

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.

Return value

The owner of the control must return zero.

Remarks

Handling this notification code allows the owner of the control to provide specific responses to keystrokes within the callback fields of the control.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
DTN_WMKEYDOWNW (Unicode) and DTN_WMKEYDOWNA (ANSI)