----- Original Message ----- 
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 11:18 AM
Subject: Re: PilRC : extra definitions for INITIALSTATE ?


> At 05:47 AM 1/27/2004, Vu Pham wrote:
> >I am playing around with PilRC and met this problem. My .rcp file has the
> >following at the end :
> >
> >NAVIGATION ID MainForm
> >     INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState
> >     INITIALOBJECTID MainAField
> >     JUMPOBJECTID MainAField
> >     BOTTOMLEFTOBJECTID MainBButton
> >     BEGIN
> >       ID MainAField BELOW MainBButton
> >       ID MainBButton ABOVE MainAField
> >     END
> >
> >The first time I compile this, it works fine., and the corresponding
> >pilrc-generated  .h file has the following def:
> >#define kFrmNavHeaderFlagsObjectFocusStartState 1032
>
> You need to add you own #defines to the top of your RCP file to provide
the
> correct values for these.  If you look in the example files, you'll see
> what you need to write.  Since you left out the #define, PiLRC is
> autogenerating one for you with a bad values.
>
Thanks. After having this definition, PilRC does not make another one, and
it compiles fine.

Vu


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to