473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

set mouse postion

Newbie needs to know how to set the mouse position.
Nov 17 '05 #1
3 2680
Hi Emjay,

Use the Cursor class and its Position property.
On Tue, 21 Jun 2005 15:15:03 +0200, Emjay <Em***@discussions.microsoft.com> wrote:
Newbie needs to know how to set the mouse position.


--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #2
Thanks, all set now. I was trying to do it with the "mouse" not "cursor".

"Morten Wennevik" wrote:
Hi Emjay,

Use the Cursor class and its Position property.
On Tue, 21 Jun 2005 15:15:03 +0200, Emjay <Em***@discussions.microsoft.com> wrote:
Newbie needs to know how to set the mouse position.


--
Happy coding!
Morten Wennevik [C# MVP]

Nov 17 '05 #3
On Tue, 21 Jun 2005 06:15:03 -0700, "Emjay"
<Em***@discussions.microsoft.com> wrote:
Newbie needs to know how to set the mouse position.

If you're right handed, then grasp the mouse with your right hand
(careful not to press the buttons on the top, and don't put pressure
on the scrolling wheel, if your mouse is so equipped.) Gently apply
lateral pressure to the mouse with your hand in the direction you'd
like the mouse to go, moving the mouse across the mousepad. (Some
people don't use mousepads, preferring instead to move the mouse
directly on the top of the desk. This is also acceptable.) When your
mouse has reached the desired postion, terminate the lateral pressure
so the mouse stops exactly where you want it.

If you are left handed, do pretty much the same thing, except that you
would grasp the mouse with your left hand.

This might take some practice before you become proficient, but within
a few days you should be able to set the mouse position wherever you
want it.

Oh - BTW - if you reach the edge of the mouse pad or the desk surface
and the mouse is in danger of falling off, you may have miscalculated
the desired mouse position with respect to the cursor on the screen.
In these cases, you can lift the mouse off the mousepad or desk and
move it in the air and reposition it on your mousing surface without
affecting the position of the cursor on the screen.



(sorry - I guess I just couldn't resist...)
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Martin Roos | last post by:
is it possible thru some libraries to move the mouse cursor under X11 from a C++ program and to call "click" ? if anyone has a good link to a lib desc or anything, all help is welcome.
4
by: Jonne | last post by:
Hi, I haven't found anything like this anywhere with Google, so I'm posting it here, hoping one of you people knows how to do something like this. I'm trying to get the mouse coordinates in a div,...
5
by: Smoke | last post by:
What i want to do, is, in the Activate Event of my form, determine which is the mouse possition, or, maybe even easy, just determine if the mouse is over my form. I need to do two differents things...
4
by: Shawn | last post by:
I have an application that has a vb.Net client and an ASP.Net page. In the vb.Net form I use Panel1.PointToClient(Windows.Forms.Cursor.Position) to get the position on a panel where the mouse was...
1
by: lg | last post by:
Is there a way to set/get vertical scroll postion without Javascript. At times I need to repaint the page but the page should scroll to certain postion depending on user input.
1
by: Neeraj | last post by:
hi I want to use ContextMenuStrip .For that i use show() method.i can not bind it as control.ContextMenuStrip= menu; becouse its automatically comes on right mouse down. So i am using menu.show()...
3
by: sungung | last post by:
Hi group, I want to back orginal scroll postion after reload page. Is it possible? My situation is call popup windows -enter data on popup -close popup -refresh parent page -reload data. As...
0
by: a4andy | last post by:
Hi, This has got me pulling my hair out, all I want to do is get the cursor position within a client window in the same units as the window coordinates. If I use; Private Declare Function...
1
by: barantamer | last post by:
Hello , Is there a way to get the mouse cursor position which is not inside a component ?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.