Mouse position

Posted on 2007-10-04
Last Modified: 2010-04-01

I have two monitors on my desktop which the mouse traverses np using the windows stretch desktop over two monitors.  I have great confidence in C++ for doing this so here goes lol.  

How would I:

get the mouse to appear on my Laptop which runs Vista if I drag it to the right as if as a connected third monitor.  My laptop is connected to my home wirless network so i thought of controlling the mouse on the laptop using my desktop mouse.  

What is the feasability of this

Question by:REA_ANDREW
    LVL 20

    Author Comment

    what I thought how this would work is a sender and a receiver.  Sender on the main desktop and receiver on the laptop. Now  When the mouse moves it sends the position to the laptop client receiver and if applicable will manipulate the mouse position using the data.

    My thoughts for this where down the line of if i can do this then i can do on other equipment, e.g. Smart board at the end of the room, controlling the mouse from the desk the other end of the room.  Very very convenient, lazy you might say lol

    LVL 45

    Expert Comment


    For the most part, all of the cursor / mouse / video functionality is removed from the application.  It's the Windows O/S and the graphics card that make things appear to be one big desktop on the two monitors.

    If you want Vista to display the desktop across 3 monitors, you'll need a graphics card and Windows controls that support it.

    Good Luck,
    LVL 20

    Author Comment

    Well what I want is not as advanced as that but you mgiht tell me that I still need it.  BUT what I want to do is simply, say I push the mouse right straight past second monitor.  I want it to appear on the vista machine. No desktop sharing, just the functionality of one mouse and the buttons.  So I click start on the desktop and open a program. I zip right and the mouse pointer on the laptop is controlled b the same mouse and then i go about using the vista OS totally decoupled from the XP on the desktop computer.  So only share the mouse position over a wireless network.


    LVL 39

    Accepted Solution

    >>>> My laptop is connected to my home wirless network so
    >>>> i thought of controlling the mouse on the laptop using my desktop mouse.  
    You'll better use some KVM switch for that. You must take one that was able to use USB mouse (rather than PS2). Some of the better switches have a taskbar icon where you can switch by mouse-click. If your monitor has the same resolution than the notebook you may consider switching video out and/or keyboard as well.

    Also a 'docking' station may be an alternative.

    Regards, Alex

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Suggested Solutions

    IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
    Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now