Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!usc!oxy!schorsch From: schorsch@oxy.edu (Brent William Schorsch) Newsgroups: comp.sys.mac.programmer Subject: disregarding floating windows Message-ID: <158305@tiger.oxy.edu> Date: 7 Apr 91 22:57:58 GMT Organization: Occidental College, Los Angeles, CA 90041 Lines: 18 Ok, this one is for all you 'creative' programmers. I am soliciting ideas for methods of determining whether any given window in the window list is a floating window (such as the tools window in HyperCard) or a document window. Currently, I am using this criteria to determine if it's a doc: It's title is valid (i.e. the length byte is greater than 0). It's visible. Its windowKind is >= 8 (this weeds out dialogs/DA's). Note: I cant use the hilited parameter because I sometimes need to do this work while MY window is frontmost (thus causing other doc windows to not be hilited...) Basically, I'm looking for this kind of creative thinking: check to see if the height of the drag bar is less than x-pixels... (something like that which should be universally (virtually) true...)