With: ControlType * clista=GetObjectPtr(OrderList); CtlSetUsable(clista, true); Work fine
Actually, it won't, at least on all versions of Palm OS. A ListType is not a ControlType. The API to use is FrmHideObject and FrmShowObject, but there a caveat that this won't work on all OS versions for Lists.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
