I am trying to hide the list object on my form, and I cannot use FrmHideObject since I am working on OS3.0, and the FrmHideObject function is supported for OS3.5 and later.
I am trying to set the visible attribute of my list directly (PalmOSGlue library is no help). What am I doing wrong? ERROR code when compiling: <BEGIN>Error: illegal use of incomplete struct/union/class 'struct ListType'</END> My code (Dummy for LIST_ID): <BEGIN> ListType *listP; FormPtr frmP; UInt16 listVisible; frmP = FrmGetActiveForm(); listP = (ListPtr)FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, LIST_ID)); listVisible = numberToAskListP->attr.visible; </END> __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
