View Single Post
Old 01 August 2021, 15:44   #17
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by Sim085 View Post
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...
bebbo is offline  
 
Page generated in 0.04515 seconds with 11 queries