Inconsistent Gui control event handling - LOGGED
by Guy Allard · in Torque 3D Professional · 03/03/2010 (8:26 pm) · 2 replies
The GuiControl class passes 3 events up to the parent control -
GuiControl::onMouseMove, onMouseWheelUp and onMouseWheelDown
This happens even if the control is locked.
None of the other guiControl mouse event handling functions have this behaviour.
GuiControl::onMouseMove, onMouseWheelUp and onMouseWheelDown
This happens even if the control is locked.
None of the other guiControl mouse event handling functions have this behaviour.
About the author
Associate Rene Damm
Actually, key down, repeat, and up events are propagated up the hierarchy chain, too. However, as this indeed isn't happening consistently one way or the other for *all* events, I absolutely agree, this is bad design.