Quote:
Originally Posted by Sim085
I did put a condition on event 0x00f80ad4. Works. But not always
I am thinking of going to the IDCMP_INTUITICKS path again. However ideally I would like to first check if my search field is already active and only call the ActivateGadget on this field if this is not activated.
But ... ... I cannot find any function to do that from here, or a way to achieve this with GT_GetGadgetAttrs as documented here.
|
hm:
gad->Flags & GFLG_SELECTED
does not work for you?
You could also call SetGadgetAttrsA with GFLG_SELECTED set...