Jump to content

Mouse + Window thing...


Recommended Posts

Is there any elegant way of doing this?

$win = GUICreate('',32,32,....., @layered)

$pic = GUICtrlCreatePic(..........)

While 1

WinMove($win,'',MouseGetPos(0),MouseGetPos(1))

Sleep(30)

WEnd

Link to comment
Share on other sites

you would have to loop to get the position of the mouse. Without a loop the position would only be the original position of the mouse. either that or you would have to loop refresh the gui based on a dll call to where the mouse is. either way loop required.

Giggity

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...