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. Help with virtual keyboard

Help with virtual keyboard

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.0k Views
  • 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.
  • J Offline
    J Offline
    Jeronimo
    wrote on last edited by Jeronimo
    #1

    Hi i am doing one virtual key board but i have some questions.
    Source: https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx

    It's only because i will include this controls and will be in different languages. In my case doesnt show message

    Code:

    switch (wParam)
                    {
                        case VK_CONTROL:
    
                            qDebug() << "test";
    
                            break;
    
                        default:
                            break;
                    }
    
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      it's very unclear where you have this code.
      Unless its in a native windows event handler im not sure what you are trying?

      J 2 Replies Last reply
      0
      • mrjjM mrjj

        Hi
        it's very unclear where you have this code.
        Unless its in a native windows event handler im not sure what you are trying?

        J Offline
        J Offline
        Jeronimo
        wrote on last edited by
        #3

        @mrjj ups sorry i was very unclear i am trying to show my virtual keys to show in my terminal qdebug, Because i will need to implement in my virtual keyboard for windows thx!. I did wparam to capture and then show but seems not to work. virtual keyboard for windows*

        1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          it's very unclear where you have this code.
          Unless its in a native windows event handler im not sure what you are trying?

          J Offline
          J Offline
          Jeronimo
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            "seems not to work."

            In what way?

            If you are using Qt to get the key, it wont be the win API codes for the key.
            http://doc.qt.io/qt-5/qt.html#Key-enum

            unless u show more code, its impossible to guess what u are doing and why u even have
            wParam....

            1 Reply Last reply
            1

            • Login

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