SendInput help? (Mouse event)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trammel

    #1

    SendInput help? (Mouse event)

    Hi.

    Im trying to make a vb.net aplication click location 200,350 on an window
    who's name is "Blah" (Not owned/started by my application). This has to be
    done using SendInput as Im coding it for Win2k.

    Could anyone help by creating a small function like:

    public function ClickWindow(byV al hwnd as inptr, byVal posX as integer,
    byVal posY as integer) as boolean
    ...
    end function


    If yoiu dont have enough time to type-out (what I assume to be) the lil'
    function, then could you please leave pointers / links to info that might be
    of use?

    I have tried MSDN already but just scratched my head & wondered why I
    bothered - lol - :¬/

    Thanks in advance to anyone that takes the time to read this :¬)


Working...