Path: utzoo!attcan!uunet!samsung!sdd.hp.com!ucsd!usc!apple!mips!pacbell.com!pacbell!barn!everexn!dm From: dm@everexn.uucp (Dan McMullen) Newsgroups: comp.sys.mac.programmer Subject: Re: Inhibiting major switching under MultiFinder Message-ID: <1990Jun12.155233.16847@everexn.uucp> Date: 12 Jun 90 15:52:33 GMT References: <1990Jun10.010643.5803@cs.UAlberta.CA> Organization: Everex Systems, Inc. Lines: 22 In <1990Jun10.010643.5803@cs.UAlberta.CA> news@cs.UAlberta.CA (News Administrator) writes: >Is there a way I can get MultiFinder to suspend >major switching at this point without going back to a dBoxProc dialog, >or putting image display support into my own program? Currently, multifinder will refuse to do a major task switch if: a. the varCode of the window is 1 (==dBoxProc), OR b. the high bit of the spareFlag in the windowRecord is set. this info from a recent query i made to macdts. i got bit by this behavior when a custom WDEF used varCode==1, and would refuse to do the task switch like i expected, so that's one possible solution. setting the bit in spareFlag might work, but i haven't tried this. any comments from Apple as to whether these solutions will continue to work in the future? -- dan mcmullen, everex systems, inc. (707) 823-0733 dm@everexn.uu.net ...!{well!fico2,pacbell!mslbrb}!everexn!dm