Re: How to change Mouse behavior
From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 01/20/05
- Next message: msnews.microsoft.com: "Re: Learning C#: about event"
- Previous message: Chris R. Timmons: "Re: IsDaylightSavingTime Not Working Correctly"
- In reply to: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Next in thread: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Reply: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 03:18:22 +0100
I think that you need to be dealing with the low-level system and not what's
happening at an application level.
You cannot have the OS thinking it's in one orientation and a single
application thinking it's in another.
I suggest that you talk to people in the DDK newsgroup.
-- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Carlos García-Carazo" <nospam@nospam.com> wrote in message news:uCxNnXi$EHA.4004@tk2msftngp13.phx.gbl... > Sorry, but I didn't explain it correctly. > > My problem is: > 1. Take the monitor in your hands, turn it 90 degrees to the left and > carefully leave it over the table. > > 2. Move the mouse to the right. I need the windows mouse cursor to go > that way, but it moves up. > > 3. The user can't click anything because it is very difficult to point the > mouse > arrow at the desired target. > > Looking at your code, your take the mouse coordinates from the MouseMove > event and transform it to draw the screen. This is correct, but it is only > the half > of my problem. > > The other half is that I need to move the mouse arrow in the transformed > space. > In your example, the arrow icon of the mouse (managed by windows) > should move at a step of 2 when the zoom factor is 200%, to solve my > problem. > > I need to capture the movement of the mouse and transform it before it > applies to > the Windows arrow, so the user can point with it from its transformed > space. > > I know this is a weird thing, but it makes sense if you imagine a worker > looking at > the image from a DLP projector over a working table, moving himself > round the projection, and handling a wireless mouse from this "rotated" > position. > > Regards, > Carlos > >
- Next message: msnews.microsoft.com: "Re: Learning C#: about event"
- Previous message: Chris R. Timmons: "Re: IsDaylightSavingTime Not Working Correctly"
- In reply to: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Next in thread: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Reply: Carlos García-Carazo: "Re: How to change Mouse behavior"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|