Represents a method that handles an intercepted character.
Declaration Syntax
Parameters
- msg (Int32)
- The message that caused the character. Usually Either WM_KEYDOWN or WM_SYSKEYDOWN.
- characters (String)
- The character(s) that have been typed, or an empty string if a non-character key (like a cursor key) has been pressed.
- deadKeyPending (Boolean)
- Whether a dead key is pending. If a dead key is pending, you may not call the ToUnicode method or similar methods, because they will destroy the deadkey state.
- vkCode (Int32)
- The virtual key code of the message that caused the character.
- scancode (Int32)
- The scancode of the message that caused the character.
- flags (Int32)
- The flags of the message that caused the character.
- time (Int32)
- The timestamp of the message that caused the character.
- dwExtraInfo (IntPtr)
- The extra info of the message that caused the character.