At 09:01 2003-2-5 -0800, you wrote:
Hi group,
I have a problem with checking if a control is visible
in os5. Untili now I've always checked it this way:

if(buttonP->attr.visible)
    //do something

but in os5 visible and enabled attributes are incorect
in the structure if you access them directly(they ara
always zero). I check enabled with CtlEnabled(), but
can't find out how to check for visible attribute. Can
you help me pls. Thank you!
Use the Palm OS Glue library.

The FrmGlueGetObjectUsable function will correctly return the usable/visible status of any form object on any version of Palm OS.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

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

Reply via email to