Game Development Community

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.

#1
03/19/2010 (3:45 pm)

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.
#2
08/22/2010 (5:35 am)
Logged as TQA-908 for QA to verify