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

invoke mouse click in c++

I'm wondering if it's possible to invoke a mouse click anywhere.
I don't mean invoke a mouse click event but, the actual mouse click itself.
For instance,
If I had my mouse over the "my computer" icon on "start menu", I want to invoke a mouse click and open "my computer" page.

Tanx in advance.
NourAshraf
Jan 1 '08 #1
1 2889
Savage
1,764 Expert 1GB
I'm wondering if it's possible to invoke a mouse click anywhere.
I don't mean invoke a mouse click event but, the actual mouse click itself.
For instance,
If I had my mouse over the "my computer" icon on "start menu", I want to invoke a mouse click and open "my computer" page.

Tanx in advance.
NourAshraf
Do you want to do this inside your app only,or global in whole windows(supposed that you use Windows)?
Both times you will need to send mouse click message to app message queue that has currently focus,but first time that would be your app,and second time you will need to find a handle which window has a focus.

Savage
Jan 1 '08 #2

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

Similar topics

6
by: Michel | last post by:
Can I invoke the context menu from javascript so I can have it disabled on 1 right-click, but show it on a double right-click or vice-versa?
21
by: news.btinternnet.com | last post by:
I can do this in IE myLink.click(); //Invoking the handler as if the user had clicked on the link themselves. I need to be able to do the same in Netscape Navigator, can anyone help ?
7
by: the_grove_man | last post by:
How do I invoke a "Right-Click" Programmtically? John
18
by: Zytan | last post by:
I want the same function to be run whether you press Enter or double click the listbox. It seems really verbose to write both handlers to both events everytime, even if they both call the same...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.