[comp.sys.mac.programmer] Seeing if a window in onscreen

commons@Sunburn.Stanford.EDU (Peter Commons) (11/20/90)

Detecting whether a window is on the main screen is pretty easy. What can one
check to see if a window is on any one of a number of multiple screens?

Thanks.

--
Peter Commons		
commons@cs.stanford.edu	
Computer Science Department, Stanford University

Invader@cup.portal.com (Michael K Donegan) (11/20/90)

See IM-V p. 121-122.
If you just want to know if it is visible, you can test it against GrayRgn.
If you want to know which screen, you will have to run through the device
list and check against each gdRect.
	mkd