|
-
Sep 28th, 2000, 01:45 PM
#1
Thread Starter
Addicted Member
How do you make the mouse click/dbl-click outside of a VB form, like on the desktop? In otherwords how can I make the mouse click on desktop icons and/or start menu applications?
212 will lead you to the truth
-
Sep 28th, 2000, 02:37 PM
#2
Lively Member
Question for you
Is there a reason for having the program actually do a mouse click or do you just want to start applications from your program that you have shortcuts for on your desktop/start menu?
-
Sep 28th, 2000, 02:51 PM
#3
Simply use SendMessage to send the WM_LBUTTONDBLCLK.
You will also need to get the Desktop hWnd. To do this, use GetDesktopWindow.
-
Sep 28th, 2000, 04:44 PM
#4
Thread Starter
Addicted Member
Ok, Megatron,
How do implement this? KillemAll, I want to open programs yes. But I also want to be able to click the mouse in other specifed locations. This will be used to set the cursor postion in non VB programs, in an effort to repeat the enrty of data.
212 will lead you to the truth
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|