Would just removing the .rsrc and having only the .r
file in the project file list do it?

Otoh, if I do that, how do I ever edit the darned
thing visually again (i.e. use Constructor)?

Could you explain a little bit more about how to
set up this "sub-target" thing?

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Eric Cloninger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 02, 1999 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Tabbed forms - A place for .r files?
> 
> 
> Until a link is performed, no resource file will be generated--after
> compilation, the objects are stored in CodeWarrior's internal 
> object store.
> If you have the Rez file as part of your project, it will be 
> included in the
> link step as if it were a .rsrc file.
> 
> If you want to have a .rsrc file, you will need to make a 
> target that links
> and creates the resource file and include that as a 
> sub-target of your main
> target.
> 
> -E
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On Behalf
> > Of Richard Hartman
> > Sent: Thursday, December 02, 1999 2:00 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Tabbed forms - A place for .r files?
> >
> >
> > Ok ... now that that's been done, and I've changed
> > the .R file that I saved from the disassembly ... how
> > do I recompile the darned thing?  .R is mapped to use
> > the Rez compiler, but even when I remove the "ignored
> > by make" setting and select "compile" I don't see a
> > new .RSRC file being generated anywhere...
> >
> > --
> > -Richard M. Hartman
> > [EMAIL PROTECTED]
> >
> > 186,000 mi./sec ... not just a good idea, it's the LAW!
> >
> >
> > > -----Original Message-----
> > > From: Bozidar Benc [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, December 02, 1999 10:59 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Tabbed forms - A place for .r files?
> > >
> > >
> > > Someone from Palm or MW posted here instructions how to
> > > create .r source file from .rsrc file.
> > >
> > > In short, here is what you must do (if you are using CW R6, I
> > > don't know if it works with R5):
> > >
> > > - open your project settings, locate and highlight the 
> RSRC file type
> > > in the "File Mappings" panel.
> > > - change the compiler option to "Rez" and click on the 
> "Change" button
> > > - in the "Rez" panel add "UIResDefs.r" to the "Prefix File"
> > > field. That file
> > > must be somewhere in your include path.
> > >
> > > To get the source code from the .rsrc file, right-click on
> > > that .rsrc file
> > > in the project window and choose "Disassemble" option.
> > >
> > > Regards
> > >
> > > Bozidar
> > >
> > >
> > > > -----Original Message-----
> > > > From: Richard Hartman [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, December 02, 1999 6:48 PM
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: RE: Tabbed forms - A place for .r files?
> > > >
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Brian Hall [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, December 02, 1999 8:40 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: Tabbed forms - A place for .r files?
> > > > >
> > > > >
> > > > > >This is actually what we do - our tabs and and the stuff
> > > > > they show and
> > > > > >hide are all on one form. It isn't that bad. In
> > > constructor you can
> > > > > >select the widget you need by using the menu option 
> "Show object
> > > > > >heirarchy" under the Layout menu. You do have to be careful
> > > > > to make some
> > > > > >changes numerically rather than visually to be certain that
> > > > > everything
> > > > > >lines up as you expect.  You can also hide objects to get
> > > > > them out of the
> > > > > >way temporarily. It is quite possible to have a form that
> > > > > contains lots
> > > > > >of overlapping widgets without it becoming unmanageable.
> > > > >
> > > > > It isn't visual, but working with .r files is one way to
> > > > > handle complex
> > > > > forms such as that. You can even define constants (for
> > > example, base
> > > > > horizontal and vertical offsets).
> > > > >
> > > >
> > > > This sort of thing is one reason that I wish that
> > > > Constructor saved the visually-edited resources in
> > > > source form instead of the proprietary binary blob.
> > > >
> > > > I think they mentioned that that might be coming
> > > > in the future ... but they didn't mention a particular
> > > > target version.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > -Richard M. Hartman
> > > > [EMAIL PROTECTED]
> > > >
> > > > 186,000 mi./sec ... not just a good idea, it's the LAW!
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 

Reply via email to