mouse

Wiggling the mouse using C#

OK. This is a bit of a vanity app, but I had a situation today at work where I was in a training class and the machine was set to lock every 10 minutes. Well, if the trainers got excited about talking - as opposed to changing slides - the machine would lock up. I'd like to write a teeny app that has nothing but a taskbar icon that does...

How to prevent the mouse cursor from being hidden after calling CComboBox::ShowDropDown?

In my MFC application, when I call CComboBox::ShowDropDown(), the mouse cursor is hidden until interaction with the combo box completes (when the combo box loses focus.) It doesn't reappear when the mouse is moved, like it does with edit boxes. How can I keep the mouse cursor from being hidden? ...

managing two computers as if extended desktop is used

I need to control two computers each connected to its own screen, using one mouse & KB. switching between them by mouse moving to the side-end of the screen (as in extended desktop supporting graphics cards). regular KVM which forces some aware user input to choose the computer in work is not optimal. the computers have obviously a net...

ergonomics: what's better; trackball, ergonomic mouse or some other pointing device (a-la touchscreen)?

So I bit into the hype and recently purchased an apple wireless keyboard and that evil bar-of-soap thing apple makes for a mouse. Couple of hundred dollars later and this is where I begin to worry about RSI. Go figure. Don't get me wrong, this apple mouse is genius and looks pretty as hell, but my right wrist feels tired after a full da...

Mouse for programmer

We have discussed keyboards. But take a look at the small piece of plastic to the right (or left :) ) of your beloved keyboard! This humble creature helps you to draw nice forms, and click all around the web. A real programmers mouse must be precise and comfortable, so which mouse would you make a companion to your keyboard? Currently I...

Get the current mouse coordinates

I have an iMac, and I want to be able to turn off the monitor when I go to sleep,. Alas, the iMac has no switch for this. I do not want to put the iMac into sleep mode, i want to write a "expose" like application or service, which when the mouse is put into the upper left hand corner of my screen, the display will sleep. Likewise, if ...

Need javascript code for button press and hold.

I'd like a short smallest possible javascript routine that when a mousedown occurs on a button it first responds just like a mouseclick and then if the user keeps the button pressed it responds as if the user was continously sending mouseclicks and after a while with the button held down acts as if the user was accelerating their mousecl...

Focus-follows-mouse (plus auto-raise) on Mac OS X.

(I don't want to hear about how crazy I am to want that! :) Focus-follows-mouse is also known as point-to-focus, pointer focus, and (in some implementations) sloppy focus. [Add other terms that will make this more searchable!] ...

wxWidgets: Detecting click event on custom controls

How to add a click event listener to my custom control made with wxWidgets? The custom control uses wxWindow as the base. On the event list I see wxEVT_LEFT_DOWN wxEVT_LEFT_UP wxEVT_LEFT_DCLICK wxEVT_MIDDLE_DOWN wxEVT_MIDDLE_UP wxEVT_MIDDLE_DCLICK wxEVT_RIGHT_DOWN wxEVT_RIGHT_UP wxEVT_RIGHT_DCLICK wxEVT_MOTION wxEVT_ENTER_WINDOW wx...

How do I keep Visual Studio from autoraising, when I activate "Focus Follows Mouse"?

I'm running VS2008 and have used SystemParametersInfo to activate "Focus Follows Mouse" and "Do not Raise On Focus." Sadly though, VS2008 (with and without SP1) doesn't honour the "Do not Raise" part and eagerly pushes into the foreground every time the pointer touches its window. A while ago I complained about that on my blog and poste...

Collaboration desktop sharing - Multiple Mouse

Hi, I'm using Windows Xp and i'm looking for a software where I can see the screen of a remote desktop and be able to show a second mouse (or pointer of any sort) that I can mouse to just show something. I want to work with a peer over the net, pretty much like the XP programming method. I find it useful, but it's pretty hard over the i...

Detecting Mouse clicks in windows using python

How can I detect mouse clicks regardless of the window the mouse is in? Perferabliy in python, but if someone can explain it in any langauge I might be able to figure it out. I found this on microsoft's site: http://msdn.microsoft.com/en-us/library/ms645533(VS.85).aspx But I don't see how I can detect or pick up the notifications list...

Control multiple PCs with single Mouse and Keyboard

As a programmer I found it very hard to use my laptop and workstation with two different input devices, Can anyone suggest a good solution to use single mouse and keyboard to control my two machines I am not looking for a Virtual Machine or RDP solution to see my machines in a single monitor, ...

How can I detect a held down mouse button over a PictureBox?

I need to fire an event when the mouse is above a PictureBox with the mouse button already clicked and held down. Problems: The MouseDown and MouseEnter event handlers do not work together very well. For instance once a mouse button is clicked and held down, C# will fire the MouseDown event handler, but when the cursor moves over the...

How to pass mouse events to applications behind mine in C#/Vista?

Hello, I am writing a very specialized app in C# that floats as a mostly transparent window over the entire desktop. I want to be able to create and pass mouse events to applications behind mine, and have them appear to operate "normally", responding to those events. It would also be preferable if the window manager could respond. I am ...

How to disable right click menu in external launched applicaton

Good day. I have a program thats launches an external application. That external app has a right click sub menu on it which I need to disable. Is it possible (without modifying the external app) to disable the right click? Maybe permission or group policies and etc. Thanks. ...

Prevent an element from "capturing" the mouse using jQuery?

I'm trying to resize an embedded object. The issue is that when the mouse hovers over the object, it takes "control" of the mouse, swallowing up movement events. The result being that you can expand the div containing the object, but when you try to shrink it, if the mouse enters the area of the object the resize halts. Currently, I...

Swapping the hand holding the mouse : do you have a better idea ?

Spending thousand of hours in front of my computer, ergonomics became quickly a main issue. For the monitor or the keyboard, technical solutions exist. But for the mouse, I never get used to the trackball and putting a little pillow under my wrist made me feel uncomfortable. So I started to swap the hand that holds the mouse. It's grea...

How do I get rid of the mouse cursor in full-screen exclusive mode?

I'm working on a simple 2D game engine in Java, and having no trouble with FSEM, buffer strategies, and so on; my issue is with the mouse cursor. In windowed mode, I can hide the mouse cursor, no problem, by using setCursor() from my JFrame to set a wholly-transparent cursor. However, after a call to device.setFullScreenWindow(this) to g...

How do I make my mouse in a VMWare Server virtual machine work properly?

My mouse, in my virtual server virtual machine is all jittery, and not working smoothly. Outside the virtual machine it is fine. My mouse is set to use the VMWare Pointing Device, which it says is working properly. I've tried the sample rate in 100 and 200 reports/second and it makes no difference. Any ideas? ...