Howdy, Stranger!

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

Categories

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

  • paulj59paulj59 Member Posts: 420
    : 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
  • Andre YoungAndre Young USAMember Posts: 0

    / http://forcoder.org / free video tutorials and ebooks about || Python, PL/SQL, MATLAB, Assembly, Swift, Go, C#, Perl, PHP, Visual Basic .NET, Scratch, C, C++, Ruby, R, Java, JavaScript, Objective-C, Visual Basic, Delphi Crystal, Dart, Transact-SQL, D, Erlang, Awk, Scala, Clojure, Hack, Kotlin, Scheme, Logo, Rust, Apex, ABAP, F#, VBScript, FoxPro, COBOL, Fortran, Lua, Julia, Ada, LabVIEW, Bash, Prolog, Alice, Lisp, ML, SAS || ____________

Sign In or Register to comment.