Windows8 TabTip.exe -- how to open it correctly?
-
Hi all,
As one of my programs is running on MS Surface with Win8 (or Win8.1, not sure :) ), I need to open the virtual keyboard when the user clicks into a text input field.
My attempt with
QProcess::start()
seems to work pretty good, but on some (at least one out of about 200) test devices I get an error message:Thats the way I execute the tabtip.exe inside an eventFilter
//keyboard is a QProcess *; keyboard->start("explorer.exe",QStringList() << "C:\\Program Files\\Common Files\\microsoft shared\\ink\\Tabtip.exe");
Any ideas what happened there or what a referral means in this case and how to sove this?
Thanks a lot ;)
EDIT:
What I forgot to add: If the user uses any other (Microsoft) program, that opens the virtual keyboard, the error message does NOT pop up
-
Hi all,
As one of my programs is running on MS Surface with Win8 (or Win8.1, not sure :) ), I need to open the virtual keyboard when the user clicks into a text input field.
My attempt with
QProcess::start()
seems to work pretty good, but on some (at least one out of about 200) test devices I get an error message:Thats the way I execute the tabtip.exe inside an eventFilter
//keyboard is a QProcess *; keyboard->start("explorer.exe",QStringList() << "C:\\Program Files\\Common Files\\microsoft shared\\ink\\Tabtip.exe");
Any ideas what happened there or what a referral means in this case and how to sove this?
Thanks a lot ;)
EDIT:
What I forgot to add: If the user uses any other (Microsoft) program, that opens the virtual keyboard, the error message does NOT pop up
-
Searching on StackOverlow brings me to this answer:
http://stackoverflow.com/a/40921638The C code can be used with
LIBS += -lole32
in the pro fileIt works on my test device, but i am not sure if it also does with the others... so still experimental...