About Store Forum Documentation Contact



Post Reply 
Gui - detect activity
Author Message
Brainache Offline
Member

Post: #1
Gui - detect activity
hey there...

How can one detect if input is going to a gui window or the main application?

I need to tell if the user is dragging a window in the Gui so I can turn off selection when it is happening, as well as not process clicks that are meant for GUI buttons...

Thanks!
10-31-2011 03:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Gui - detect activity
Gui.ms() will point you to mouse focused object
Gui.kb() to keyboard focused object
10-31-2011 06:29 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #3
RE: Gui - detect activity
Gotya - thanks for the pointer...

Gui.msLit() seems to be the best option...
10-31-2011 06:35 PM
Find all posts by this user Quote this message in a reply
Post Reply