SetGadgetSensitivity would be a likely passable workaround, but it's not quite the same, as I don't think it will detect when a user tabs into a field, I could only detect if they click the field to activate it.
Another workaround would be watching for gadget lost focus events, and then treating it as a gadget got focus on the activegadget, but if the user clicks off of a gadget then I'll get a lost but no new active, so when they do activate something I'd have to track the clicks still, and I'd still miss tabbing into the first field from no active...
Perhaps I should go rummage through the maxgui source...
|