At 5:12 PM +0100 27-01-00, Dave Lippincott wrote:
>How about
>
>CtlPtr = GetObjectPtr(MyButton);
>CtlPtr->Usable = true;
>CtlPtr->bounds.right = NewWidth;
>or
>CtlSetEnabled(CtlPtr);
>or any of the Ctl functions
Well, that will work, but why not use the supported API instead?
FrmShowObject and FrmHideObject change the useable attribute.
FrmSetObjectBounds (or something like that) will resize an object.
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html