Results 1 to 4 of 4

Thread: I want to create an application to move the mouse pointer and give mouse clicks

  1. #1
    Join Date
    Feb 2013
    Posts
    6
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default I want to create an application to move the mouse pointer and give mouse clicks

    I want to make an Qt application from which i can control the mouse pointer and move it and give mouse clicks.

    I would really like to know if it is possible to move and give mouse clicks outside the working application... i.e desktop icons, files, folders etc...

    Someone pls help... this is kinda urgent for my current project....

  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: I want to create an application to move the mouse pointer and give mouse clicks

    You need to use native API for this.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2013
    Posts
    6
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: I want to create an application to move the mouse pointer and give mouse clicks

    Quote Originally Posted by wysota View Post
    You need to use native API for this.
    I am sorry... but i didn't understand... could you pls make it clear?

    how can i do it?

    can i do it even outside my application?

  4. #4
    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: I want to create an application to move the mouse pointer and give mouse clicks

    You have to use WinAPI on Windows, Xlib/xcb on X11, etc.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 12th May 2010, 14:11
  2. Generating Mouse Clicks
    By Ebonair in forum Qt Programming
    Replies: 2
    Last Post: 4th July 2009, 19:20
  3. How to handle double clicks with mouse?
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 14th January 2007, 13:01
  4. traversing tree using mouse clicks
    By krishna.bv in forum Qt Programming
    Replies: 3
    Last Post: 22nd December 2006, 10:15
  5. Detecting mouse clicks outside of widget
    By init2null in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2006, 20:16

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.