How can I detect if a windows mobile device has the keyboard extended?
-
21-09-2019 - |
Question
How can I detect if a windows mobile device has the keyboard extended? I am manually launching the soft keyboard and I need to know when to prevent my app from launching the PIE.
Solution
Have you tried using SHSipInfo ?
Alternatively, if your application is maximized, you can try to get the Client/Window size of your window, close the keyboard using SHSipPreference and get the size of the window again. if the size become longer then probably the sip was open. keep these window sizes for later comparisons.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow