On 12/11/98 at 10:24 AM, Wayne Campbell wrote: > >To get a picture, you would use... > > > >pictHndl& = FN pGget1NamedRes(_"PICT",theName$,gResRef) > > On this one, I sorta figured it was something like this. In the DocViewer > version of More Toolbox, I was reading that this call only finds and gets > one resource (meaning the actual toolbox call made within your function). I > read about the other call as well, but I guess I'm missing something > because I don't understand the diff between them (and because you only > wrote one function concerning them heh). The "1" Res call variations search only ONE res file for your resource - the currently active resource file. The other calls (GetNamedResource, etc) search the entire resource chain, which is typically something like <res file>-><application resource fork>-><system file resource fork>. So if the resource you want is not in the currently open resource file, it will look in the application's resource fork. If it's not there, it will look in the System file's resource fork. Sometimes this is what you want, like when opening a dialog box (like the standard save/open dialogs) or getting an icon. But other times this is inappropriate behavior; hence the "1" calls. - via BulkRate