Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 1.98 KB

dtn-wmkeydown.md

File metadata and controls

73 lines (42 loc) · 1.98 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
DTN_WMKEYDOWN notification code (Commctrl.h)
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.
e67e222d-28a1-4d30-ae64-8ec9a62fa321
DTN_WMKEYDOWN notification code Windows Controls
apiref
DTN_WMKEYDOWN
DTN_WMKEYDOWNA
DTN_WMKEYDOWNW
Commctrl.h
HeaderDef
reference
05/31/2018

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)