"David Fedor" <[EMAIL PROTECTED]> wrote
> >The control's pointer should tell all. There are examples included with
the
> >SDK that show how to get a pointer to a control.
>
> If at all possible, use the APIs to get or set information, and don't
> directly read or write the control's structures. Otherwise you're taking
a
> risk that the contents of the structure won't change... which is not a
good
> assumption to make.
>
Except (to change the subject slightly) that since the API calls
often redraw the control we can't use them prior to
FrmDrawForm to establish the initial state of the form before
displaying it. Is there any way around this except to directly
modify the structure members of the control?
> And no, I'm not just saying that to be picky. It is important.
>
I agree. Which is why it's disappointing to see that OS3.5
makes many API calls unusable before the form is drawn.
Chris Tutty
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/