[comp.sys.mac.programmer] How does MF sense clicks?

mnkonar@manyjars.SRC.Honeywell.COM (Murat N. Konar) (08/26/89)

Anyone know how Multifinder tells if you clicked in the 
window of a background application?  Does it accumulate 
the structure regions of each apps windows and do a 
PtInRgn(clickPt,appWRgn) or something?  Does it do a 
context switch and check each window individually?  Are 
all foreground app background app windows maintained in 
a list somewhere?

I know all this stuff is undocumented and shouldn't be
dinked around with but I'm working on something that 
only has to run under the current(6.0.3) system so I
don't care if it breaks in the future.  Any help would 
be greatly appreciated.
____________________________________________________________________
Have a day. :^|
Murat N. Konar        Honeywell Systems & Research Center, Camden, MN
mnkonar@SRC.honeywell.com (internet) {umn-cs,ems,bthpyd}!srcsip!mnkonar(UUCP)