On 12/8/06, Joao Ribeiro <[EMAIL PROTECTED]> wrote:
Hy everyone,
I'm having trouble with the code below.
I can't get a valid form pointer... the goal is to get a form using it's
resource ID, then the button C1B and change the button text.
Hope someone can help me!
Thanks in advance.
João
you need to get a FormType * (FormPtr); this isn't exactly the
structure of the resource - but, the internal runtime representation
of the form itself - this is normally initilized by FrmInit().
what you should be doing is calling FrmGetFormPtr() - if it has
been loaded and initialized; it'll return the correct pointer.
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/