Share via


DTN_WMKEYDOWN (Compact 2013)

3/28/2014

This message is sent by a date and time picker (DTP) control when the user types in a callback field. It is sent in the form of a WM_NOTIFY message.

Syntax

DTN_WMKEYDOWNlpDTKeystroke = (LPNMDATETIMEWMKEYDOWN) lParam;

Parameters

  • lpDTKeystroke
    Long pointer to an NMDATETIMEWMKEYDOWN structure that contains information about this instance of the message. 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 message allows the owner of the control to provide specific responses to keystrokes within the callback fields of the control.

Requirements

Header

commctrl.h

See Also

Reference

Date and Time Picker Controls Notifications
NMDATETIMEWMKEYDOWN