Quote:
Originally Posted by Thomas Richter
Window activation as IDCMP exists, so there is certainly a possibility to activate a gadget when the user activates the window. That seems to be the most straight-forwared way of doing it. Some care should be taken if there are multiple string gadgets on the same window as then the input focus could potentially change.
A good principle to follow is "principle of least surprise", i.e. don't make any changes that have not been triggered by the user explicitly.
|
maybe someone is able to track the last selected input gadget...