AxHost.PreProcessMessage(Message) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Preprocesses keyboard or input messages within the message loop before they are dispatched.
public:
override bool PreProcessMessage(System::Windows::Forms::Message % msg);
public override bool PreProcessMessage (ref System.Windows.Forms.Message msg);
override this.PreProcessMessage : Message -> bool
Public Overrides Function PreProcessMessage (ByRef msg As Message) As Boolean
Parameters
- msg
- Message
A Message, passed by reference, that represents the message to process. The possible values are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR.
Returns
true
if the message was processed by the control; otherwise, false
.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.