Neil Rhodes wrote:

>Is there something you want to do that I'm missing?
I can't speak for Howard, to whom this is really addressed, but for
myself:

I think showing and hiding controls/objects is the main thing that's hard
to do without drawing: changing labels and such is OK. For controls, we
have CtlSetUsable, but according to the docs:

"This function doesn�t usually update the control."

I'm afraid "usually" isn't exactly reassuring... :-)

And for something like a label, there is no FrmSetObjectUsable routine,
only FrmShowObject and FrmHideObject, which try to draw. Or have I missed
something? Of course we can dig into the data structure directly and
twiddle the usable bit, but that's officially frowned upon, isn't it?
Even if it isn't, I'd rather avoid that sort of thing if possible.

As I said before, my solution so far is to make any "dynamic" objects
unusable in the resource, then when the form comes up I do my FrmDrawForm
and then show the ones I want to show, leaving the others invisible. This
works OK, though I'm always open to suggestions.

Dave Johnson

--
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