Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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_WMKEYDOWN
lpDTKeystroke = (LPNMDATETIMEWMKEYDOWN) 
lParam;

Parameters

lpDTKeystroke

Long pointer to an NMDATETIMEWMKEYDOWNstructure 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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also