Thread: Set mouse position

  1. #1
    Registered User
    Join Date
    Oct 2005

    Set mouse position

    Hi, how can i set the mouse position? (system wide). Do i have to create a device driver for my purpose or there is any win32 API call that does that?

    Thank you.

  2. #2
    Software engineer
    Join Date
    Aug 2005
    Try this thread about the third post down:

  3. #3
    Join Date
    Oct 2007
    Inside my computer
    No, that's mouse events.
    SetCursorPos sets the mouse position on the screen for the current active user.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finding mouse coordinates without disturbing its position
    By abachler in forum Networking/Device Communication
    Replies: 4
    Last Post: 10-21-2008, 11:19 AM
  2. Position mouse in external application
    By keira in forum C# Programming
    Replies: 1
    Last Post: 09-15-2008, 07:05 PM
  3. Getting the position of the mouse cursor
    By Mavix in forum Game Programming
    Replies: 5
    Last Post: 12-27-2007, 04:02 PM
  4. "if you love someone" :D
    By Carlos in forum A Brief History of
    Replies: 12
    Last Post: 10-02-2003, 01:10 AM
  5. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 13
    Last Post: 10-31-2002, 02:56 PM