Brainache
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
Brainache
Member
|
RE: Gui - detect activity
Gotya - thanks for the pointer...
Gui.msLit() seems to be the best option...
|
|
10-31-2011 06:35 PM |
|