Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic WPF application not active after click outside the app (Read 2281 times)
amirhp
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 3rd, 2018
WPF application not active after click outside the app
Dec 3rd, 2018 at 8:17pm
Print Post  
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)
« Last Edit: Dec 4th, 2018 at 12:40pm by Forum Admin »  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: WPF application not active after click outside the app
Reply #1 - Dec 4th, 2018 at 12:42pm
Print Post  
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
  
Back to top
 
IP Logged
 
amirhp
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 3rd, 2018
Re: WPF application not active after click outside the app
Reply #2 - Dec 4th, 2018 at 3:27pm
Print Post  
Thanks a lot,
It's been resolved after set the IsStandAlone to false.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint