Jump to content


Photo

OnMessage only works when mouse on Gui ?


  • Please log in to reply
7 replies to this topic

#1 Klark92

Klark92
  • Members
  • 854 posts

Posted 24 June 2012 - 10:04 AM

I want to work it, when mouse is everywhere. Is that possible ... ?

#2 HotKeyIt

HotKeyIt
  • Fellows
  • 6119 posts

Posted 24 June 2012 - 02:19 PM

Put another invisible gui in FullScreen?
What are you trying to do? Probably a simple loop can do that?
Loop {
   MouseGetPos,x,y,w,c
   [color=#40BF00];...[/color]
}


#3 Lexikos

Lexikos
  • Administrators
  • 8832 posts

Posted 24 June 2012 - 11:43 PM

Klark92, you should know by now that the Scripts subforum is not the place to ask such questions. I have moved the thread to Support.

#4 Klark92

Klark92
  • Members
  • 854 posts

Posted 25 June 2012 - 12:11 AM

aaaa ? I always do this to support forum. but it's my thoughtfulness, sorry...

@Hotkey :

OnMessage(0x0200, "WM_MOUSEMOVE")

WM_MOUSEMOVE() {
           [color=#40BF00];[/color][color=#FF0000]Check mouse pos but when mouse is out of gui, function is not works ...[/color]

}


#5 Klark92

Klark92
  • Members
  • 854 posts

Posted 25 June 2012 - 11:25 AM

nobody sees any message in this forum ...