Results 1 to 3 of 3

Thread: mousemoveevent on desktop

  1. #1
    Join Date
    Jan 2007
    Posts
    177
    Thanks
    8
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default mousemoveevent on desktop

    hi,
    is there any possibility to get mouseMoveEvents even the cursor is over the desktop or over another window?

  2. #2
    Join Date
    Aug 2006
    Posts
    44
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: mousemoveevent on desktop

    ...that depends...

    You could grab the mouse, but that's going to 'lock' the mouse to your window until you release it. It's probably not what you want to do.

    In Windows, you can install a 'hook' to do this, but it's also frowned upon.

    I'm curious why your app needs this...

  3. #3
    Join Date
    Jan 2007
    Posts
    177
    Thanks
    8
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: mousemoveevent on desktop

    i want to write a kilometer counter for my mouse.
    to show my boss how many i work...

Similar Threads

  1. Problem in MouseMoveEvent
    By aamer4yu in forum Qt Programming
    Replies: 18
    Last Post: 3rd December 2015, 11:20
  2. Display only PNG image on desktop
    By durbrak in forum Qt Programming
    Replies: 32
    Last Post: 15th March 2008, 21:55
  3. How to send message to Desktop Widget
    By shyam prasad in forum Qt Programming
    Replies: 18
    Last Post: 18th April 2007, 11:00
  4. Remote file list Drop to desktop
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2007, 23:16
  5. Desktop application shadow?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 18th November 2006, 02:42

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.