-
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?
-
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?
-
Simply use SendMessage to send the WM_LBUTTONDBLCLK.
You will also need to get the Desktop hWnd. To do this, use GetDesktopWindow.
-
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.