How to check if screen keyboard is showed? #8874
-
I need to get my app know if screen keyboard is showed on screen. I tried to handle events from InputPane using How to properly check it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
How did you activate InputPane?
and then hooking up the Showing and Hiding events:
works perfectly fine. While it is true that this is an unpackaged Windows API application, WinUI 3 is basically just a UI framework/library that runs in a desktop environment. I have no issues double checking this in a WinUI 3 application though. |
Beta Was this translation helpful? Give feedback.
-
This works for me in WinUI 3 on Windows 10 22H2 (I have put 2 different bips for show/hide) :
with :
|
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce, x86 or x64 (or it does not work at all if I test as Admin...) |
Beta Was this translation helpful? Give feedback.
-
Did you test with SetWinEventHook ? |
Beta Was this translation helpful? Give feedback.
Did you test with SetWinEventHook ?
Cloaked events should work in your case, like for any window