On Tue, 16 Jul 2002, John Marshall wrote:
> >>> From: Ben Combee <[EMAIL PROTECTED]>
> >>> What I'm saying is that the whole form at 500, control at 501,
> >>> control at 502, etc. scheme is due to the Mac OS resource
> >>> mechanism.  [...]
> >>
> >>         And so Ben?   The way it is, is the way it is, surely?
> >
> > I've already said too much.
>
> Huh?  Are you saying that you have competitors whose tools also suffer
> from this problem and to whom you've now divulged a solution?
>
> Users of prc-tools, PilRC, etc and products based on them -- Falch.net,
> etc -- have never suffered from this problem.

  this is constructor at work. it automatically assigns id's like this.
  just look at the header file for your resources. its not forced in
  palmos, but, in codewarrior when combined with constructor :)

  i learnt this lesson by trying to port a prc-tools project to codewarrior
  using constructor.. what a mess.. better to go from constructor --> pilrc
  in that direction. it also has a crazy way of defining the constant
  values ({formname}Form{controlname}Button) etc..

  thank god for the pilrc plugin! *all hail god neil*

  its good practice to stay in the 0..10000 range, and, dont re-use id's
  - that way you will stay out of trouble.

// az "yes, i have used the beast" :P
[EMAIL PROTECTED]
http://www.ardiri.com/




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

Reply via email to