Preprocesses keyboard or input messages within the message loop before they are dispatched.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable Function PreProcessMessage( _
ByRef msg As Message _
) As Boolean |
Parameters
- msg
- A System.Windows.Forms.Message, passed by reference, that represents the message to process. The possible values are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR.
Return Value
true if the message was processed by the control; otherwise,
false.
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also