Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!roy From: roy@phri.nyu.edu (Roy Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: Res Edit Message-ID: <1991Jan18.214307.25652@phri.nyu.edu> Date: 18 Jan 91 21:43:07 GMT References: <35043.2793F964@stjhmc.fidonet.org> <1330@happy.osc.edu> Sender: news@phri.nyu.edu (News System) Organization: Public Health Research Institute, New York City Lines: 19 spencer@cgrg.ohio-state.edu (Stephen N. Spencer) writes: > The first is the _Macintosh Programming Primer_, by Mark and Reed. It's > geared to those who know C but don't know how to program the ToolBox > using THINK C. It uses and explains (!) ResEdit all throughout the book. I second that. It's how I learned Mac Programming. The best trick (sort of silly, but comforting to us old "toggle in binary on the front panel switches" types) is an example of how to use ResEdit to build a perfectly complete double-clickable application without resorting to using the compiler at all. It doesn't do much; just puts a window up and exits as soon as it gets any event, but it's a real application. As I remember, you use ResEdit to build a WDEF resource and then hand-craft a CODE resource by poking a few hex words which just makes a couple of appropriate traps. -- Roy Smith, Public Health Research Institute 455 First Avenue, New York, NY 10016 roy@alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy "Arcane? Did you say arcane? It wouldn't be Unix if it wasn't arcane!"