[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource Manager - please help!



Henrik,
   Teach uses an auxID with the Resource Manager. Your best bet if you get the
resBadAppID error is to try each of the 15 auxID's. Teach uses 11xx. Plat Paint
probably does something similar, though I didn't check.
 
Another method, undocumented and not guaranteed is like:
 
SetCurResourceApp(SetHandleID(0,GetSysBar)) assuming the system menubar is in
resources.
 
Apple recommends against using aux ID's with ResourceStartUp, but 1> I think it
is in a technote, not original docs, 2> it is just a recommendation, 3> it is
not followed, even by Teach.
 

--
  --Jay, jay.krell@cornell.edu