[comp.sys.mac.programmer] "hot" clicks in DAs

matthews@eleazar.dartmouth.edu (Jim Matthews) (10/11/88)

Another question in the category of "things you probably shouldn't do in
a DA, but you find you have to."

I have a multiple-window desk accessory, and I want to use "hot" clicks.
I.e., I want clicks on windows that aren't in front to be passed to the
DA so that I can do more with them than just bring the window to the
front.  The Finder uses hot clicks to let you select icons that aren't
in the front window -- I'd like to do something similar in my DA.

The problem is that when SystemClick sees a click on a DA window that
isn't in front, it simply selects the window.  So I never see the
mousedown event.  Is there a way around this, short of patching
SystemClick?  If I did patch SystemClick, how would I distinguish my DA
windows from other DA windows?

Jim Matthews
Dartmouth Software Development