Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!well!svc From: svc@well.UUCP (Leonard Rosenthol) Newsgroups: comp.sys.mac.programmer Subject: Re: GetRsrc strange in LSP Summary: 'BUG' in WindowMgr Message-ID: <12322@well.UUCP> Date: 22 Jun 89 16:49:08 GMT References: <24302@srcsip.UUCP> <32576@apple.Apple.COM> Distribution: na Lines: 19 > [ problems with GetResource in LSP WDEF ] > >I'm trying to work around this by storing a handle >to my resource in the dataHandle of a windowRecord >during the wInit message, but this is a suboptimal >solution. > Beleive it or not YOU NEED TO DO THIS! When running on MultiFinder, and your window gets an update (and your WDEF gets a draw message) from the foreground you WDEF will get called FROM THE FOREGROUND APPS HEAP! This means that your GetResource will probably fail since it won't be able to find your appl resources that it needs. I consider this a bug in the window mgr, Apple tells me its a feature and can't promise to fix it for System 7.0. -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025