Export (0) Print
Expand All

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

DTN_WMKEYDOWNW (Unicode) and DTN_WMKEYDOWNA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft