FormGadgetType *MyGadget;

MyGadget = (FormGadgetType *)GetObjectPtr(MyGadgetRSCID);

if(MyGadget->attr.usable)
    ...

Works for me.

----- Original Message -----
From: "Owen Flagel" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 1:30 PM
Subject: Usable attribute for a Gadget


> What's the best way to get the value of the Usable attribute for a gadget?
> Thanks, Owen
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to