Results 1 to 2 of 2

Thread: QT Keyboard Hook

  1. #1
    Join Date
    May 2007
    Location
    Hannover; Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Question QT Keyboard Hook

    Hello,

    i am trying to catch keyboard events from my systray app, in my case the F12 button.

    I created a hook dll and link it, but the function in the dll is not able to set the hook.

    Is there anywhere a working example which i can modify?

    Kind regard

    Marc

    PS: I am using QT 4.2.3 on Windows with mingw (dll is also compiled with mingw)

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT Keyboard Hook

    Can we see any code? What do you mean by "hook dll"?

Similar Threads

  1. virtual keyboard done with qt4-designer
    By Klaus_EAN in forum Qt Programming
    Replies: 17
    Last Post: 30th December 2010, 08:47
  2. Virtual Keyboard on Qtopia 4.2.1
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 11th April 2007, 15:51
  3. Grab keyboard events in Windows
    By durbrak in forum Qt Programming
    Replies: 1
    Last Post: 4th February 2007, 19:56
  4. Replies: 2
    Last Post: 24th July 2006, 18:36
  5. Keyboard Handling
    By ToddAtWSU in forum Qt Programming
    Replies: 4
    Last Post: 5th July 2006, 13:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.