The MindFusion Forums
Virtual Keyboard Components >> WPF >> WPF application not active after click outside the app
https://mindfusion.eu/Forum/YaBB.pl?num=1543868272

Message started by amirhp on Dec 3rd, 2018 at 8:17pm

Title: WPF application not active after click outside the app
Post by amirhp on Dec 3rd, 2018 at 8:17pm
WPF application, with custom virtual keyboard, is not active after click outside of the application.
Attached is the simple WPF with the custom virtual keyboard.(change the filename to WpfApplication1.7z)

Title: Re: WPF application not active after click outside the app
Post by Slavcho on Dec 4th, 2018 at 12:42pm
Set IsStandAlone="False" in keyboard's Xaml. It's true by default and in that mode the keyboard assumes it will send keystrokes to external processes, preventing activation of its own host window so as to not steal keyboard focus.

Regards,
Slavcho
Mindfusion

Title: Re: WPF application not active after click outside the app
Post by amirhp on Dec 4th, 2018 at 3:27pm
Thanks a lot,
It's been resolved after set the IsStandAlone to false.

The MindFusion Forums » Powered by YaBB 2.6.11!
YaBB Forum Software © 2000-2024. All Rights Reserved.