473,382 Members | 1,147 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,382 software developers and data experts.

Mouseclick at screen position

YarrOfDoom
1,247 Expert 1GB
How can I make the mouse click at a certain position, expressed in pixels counted from the left top corner of the screen? I've tried google and some threads here on The Scripts, but none of them seemed to work. Using vb6.

Yarr
Feb 16 '08 #1
8 2134
daniel aristidou
491 256MB
How can I make the mouse click at a certain position, expressed in pixels counted from the left top corner of the screen? I've tried google and some threads here on The Scripts, but none of them seemed to work. Using vb6.

Yarr
Hey ...i found out how to do it on here....let me see whether i can find the thread..
kk think i found it....
try this:
Thread
Feb 17 '08 #2
YarrOfDoom
1,247 Expert 1GB
Thanks, but the thread you linked me to is about capturing the position of the mouse and the window it's currently on etc. What I want to do could be described as "clicking by code", so actually overruling the mouse with the program.
Feb 17 '08 #3
daniel aristidou
491 256MB
Thanks, but the thread you linked me to is about capturing the position of the mouse and the window it's currently on etc. What I want to do could be described as "clicking by code", so actually overruling the mouse with the program.
Oops sorry let me locate the correct one
Feb 17 '08 #4
YarrOfDoom
1,247 Expert 1GB
Almost, it needs to click too :P.
Feb 17 '08 #6
QVeen72
1,445 Expert 1GB
Hi,

Try This

Regards
Veena
Feb 18 '08 #7
Killer42
8,435 Expert 8TB
Subscribing .
Feb 18 '08 #8
YarrOfDoom
1,247 Expert 1GB
Ok, I'm trying to get it working, but it's a bit difficult, as I don't have Visual Studio myself anymore, and so a friend of mine is doing the whole compiling etc, as the program is made for him anyway.
I'll post more if it's done.
Feb 19 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Terje Johan Abrahamsen | last post by:
Hello. I have been trying desperately for a while to make Python push the left mousebutton. I have been able to let Python push a button in a box: def click(hwnd): win32gui.SendMessage(hwnd,...
0
by: Steve | last post by:
Hi all Is there a way in which I can get the Form's position on the screen in pixels? I am having to position another form in relation to an MDI Child form, so I cannot use the Location...
3
by: Kubik | last post by:
Hello! How to detect mouseclick anywhere on the form? There is a lot of controls on the form, so I don't want to add eventhandler for each of them. How can I do it in another way? Adam --...
1
by: zoneal | last post by:
OS: Win XP Language: VB.net or C# I have a program where I need to launch 2 separate instances of an App called "Main.exe". Each instance will need to be piped to there own video display. ...
6
by: wiewel | last post by:
hi all, i have a strange problem when trying to set up a horizontal menubar: i would like to split the whole screen from left to right into 9 pieces. the first one has a fixed width of 186px....
4
by: Peter Rilling | last post by:
What is the difference between the MouseClick and Click events?
2
by: GS | last post by:
how can I tell if it is right mouse click from left mouseclick? I would also to test if a key like control is being held down at the same time. what I would really like to is to capture control...
4
by: mike | last post by:
I have the opportunity to rescue a project that uses a mouse to sense the relative position of a machine. The hardware is built...just needs to be programmed. Stop snickering!!! I didn't do it...I...
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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.