Results 1 to 4 of 4

Thread: How do you make the mouse click/dbl-click outside of a VB form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    177

    Talking

    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

  2. #2
    Lively Member
    Join Date
    Sep 2000
    Location
    NC, USA
    Posts
    102

    Question 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?

  3. #3
    Guest
    Simply use SendMessage to send the WM_LBUTTONDBLCLK.

    You will also need to get the Desktop hWnd. To do this, use GetDesktopWindow.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    177

    Talking

    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
  •  



Click Here to Expand Forum to Full Width