[comp.sys.mac.programmer] windows...

schorsch@oxy.edu (Brent William Schorsch) (04/08/91)

Oops, I have a stupid editor...

<<< Continuation of distinguishing between doc and floating windows >>>

Right now, my three criteria catch most windows, but not enough...
(Dont suggest anything like, has grow area/zoom area because I work also
on an application which has floating windows with these attributes.  Also,
GhostWindow wont help...  (remember FrontWindow wont even return that)).

Thanks.  Please reply to the net or this address:  schorsch@tiger.oxy.edu

YUNSANJ@YaleVM.YCC.Yale.Edu (04/12/91)

 I don't believe you'll find any way to find all floating windows in a
program. The method I use is storing a Boolean value within a handle that I
attach to the refCon field of a window. Often I'll have more than one floating
window so the top one need not be all the floating ones. The customary way
I've seen for distinguishing floating windows is by checking the windowKind
but I never apted for taking this route for problems I had earlier on with
using it. If you find any good way of doing this, tell me. (BTW - I'm using a
friend's bitnet account. You know me as PATRICK5 frm AOL.)