Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows8 TabTip.exe -- how to open it correctly?
Forum Updated to NodeBB v4.3 + New Features

Windows8 TabTip.exe -- how to open it correctly?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • the_T Offline
    the_T Offline
    the_
    wrote on last edited by the_
    #1

    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:

    image001.jpg

    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

    -- No support in PM --

    jsulmJ 1 Reply Last reply
    0
    • the_T the_

      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:

      image001.jpg

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @the_ I don't know how to open the virtual keyboard on Windows, but the way you do it is for sure not correct.
      You should use Windows API for that instead of starting a process.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • the_T Offline
        the_T Offline
        the_
        wrote on last edited by
        #3

        @jsulm Thanks I will look for an api to do so. Will keep you up to date

        -- No support in PM --

        1 Reply Last reply
        1
        • the_T Offline
          the_T Offline
          the_
          wrote on last edited by
          #4

          Searching on StackOverlow brings me to this answer:
          http://stackoverflow.com/a/40921638

          The C code can be used with LIBS += -lole32 in the pro file

          It works on my test device, but i am not sure if it also does with the others... so still experimental...

          -- No support in PM --

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved