Jump to content

Recommended Posts

Posted

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

Posted

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

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
×
×
  • Create New...