TWMKey represents a Windows Keystroke message.
TWMKey = packed record Msg: Cardinal; CharCode: Word; Unused: Word; KeyData: Longint; Result: Longint; end;
struct TWMKey { unsigned Msg; Word CharCode; Word Unused; Longint KeyData; Longint Result; };
TWMKey is the data structure used in some Windows keyboard messages.
TWMKey contains the following fields.
Field |
Meaning |
Msg |
Represents the Windows message code. |
CharCode |
Specifies the virtual key code for the key pressed by the user. This is either an ANSI character or a virtual key constant, such as VK_CANCEL. |
Unused |
Unused. |
KeyData |
Indicates the repeat count, scan code, extended-key flag, context code and so on. See the Windows help system for a keystroke message such as WM_KEYDOWN for details on the possible values. |
Result |
Holds the value returned by the application processing the message. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|