WindowsXamlHostBase.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.
In order to handle keyboard accelerators and TAB input, we must give a chance to <seealso cref="T:Windows.UI.Xaml.Hosting.DesktopWindowXamlSource"></seealso>
to handle the msg using <seealso cref="M:Microsoft.Toolkit.Win32.UI.XamlHost.IDesktopWindowXamlSourceNative2.PreTranslateMessage(System.Windows.Forms.Message@)"></seealso>
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
The current incomming message in the queue
Returns
True if <seealso cref="F:Microsoft.Toolkit.Forms.UI.XamlHost.WindowsXamlHostBase._xamlSource"></seealso> was able to handle the msg