C# Class NewTOAPIA.UI.KeyboardActivityArgs

KeyboardDevice events represent keyboard activity. The event can be a KeyDown, KeyUp, or KeyChar. The down and up events report the raw virtual key code that is being pressed and released. The KeyChar event type represents an actual key once it has been translated by the system.
Inheritance: System.EventArgs
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Méthode Description
CreateFromKeyboardHookProc ( IntPtr wParam, IntPtr lParam ) : KeyboardActivityArgs
CreateFromWindowsMessage ( IntPtr windowHandle, int msg, IntPtr wParam, IntPtr lParam ) : KeyboardActivityArgs
KeyboardActivityArgs ( KeyActivityType eventType, VirtualKeyCodes vKeyCode ) : System
ToString ( ) : string

Private Methods

Méthode Description
KeyboardActivityArgs ( KeyboardDevice keyboard, IntPtr windowHandle, KeyActivityType eventType, VirtualKeyCodes vKeyCode, KeyMasks masks, int scanCode, int repeatCount, bool extended, char aChar ) : System

Method Details

CreateFromKeyboardHookProc() public static méthode

public static CreateFromKeyboardHookProc ( IntPtr wParam, IntPtr lParam ) : KeyboardActivityArgs
wParam System.IntPtr
lParam System.IntPtr
Résultat KeyboardActivityArgs

CreateFromWindowsMessage() public static méthode

public static CreateFromWindowsMessage ( IntPtr windowHandle, int msg, IntPtr wParam, IntPtr lParam ) : KeyboardActivityArgs
windowHandle System.IntPtr
msg int
wParam System.IntPtr
lParam System.IntPtr
Résultat KeyboardActivityArgs

KeyboardActivityArgs() public méthode

public KeyboardActivityArgs ( KeyActivityType eventType, VirtualKeyCodes vKeyCode ) : System
eventType KeyActivityType
vKeyCode VirtualKeyCodes
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string