[comp.sys.mac.programmer] MultiFinder Weirdness + D.A. owned fonts

oster@dewey.soe.berkeley.edu (David Phillip Oster) (09/29/88)

1.) if you call WaitNextEvent() a few times before you open your window
(and actually process the events) your window will be created on top.
(GetNextEvent() will work for those of you who want to be compatible with
old system files.)

2.) The latest batch of tech notes had one on Font/DA Mover 3.8 which
cover this very point: There is a range of font families that encode to
the number ranges reserved for D.A.s. You shouldn't use it however,
because it is reserved for fonts owned by applications. You could
temproarily override the GetResource call, so that if the arguemnts were
'FONT', myFontNum, you actually returned an owned resource of the D.A.,
but this path is fraught with peril, and is likely to break if apple
changes the font manager again. The conclusion is: there probably is no
good, simple, legal, compatible way to do it.