VB6: Mouse Control

I know how 2 make the mouse invisible & how 2 detect where it is, but is
there anyway 2 move it wt the program. (ie. If you don't want the user
2 click anywhere you could trap the mouse in a corner & make it invisible)

Also, is there anyway 2 call a mouse click on a x,y part of the screen.
(ie. [b]Call MouseClick(300, 500)[/b] or somethin)

Thanks!
[b][red]Dragon[/red][purple]storM[/purple][/b]

Comments

  • : I know how 2 make the mouse invisible & how 2 detect where it is, but is
    : there anyway 2 move it wt the program. (ie. If you don't want the user
    : 2 click anywhere you could trap the mouse in a corner & make it invisible)
    :
    : Also, is there anyway 2 call a mouse click on a x,y part of the screen.
    : (ie. [b]Call MouseClick(300, 500)[/b] or somethin)
    :
    : Thanks!
    : [b][red]Dragon[/red][purple]storM[/purple][/b]
    :


    I did this once but I don't remember all of the details.
    Use SetCursorPos
    http://www.allapi.net/apilist/SetCursorPos.shtml
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion