Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!agate!bionet!apple!vsi1!daver!athsys!jim From: jim@athsys.uucp (Jim Becker) Newsgroups: comp.windows.x Subject: Re: How do I draw over child windows ? Message-ID: <168@tityus.UUCP> Date: 1 Nov 88 00:07:44 GMT References: <376@istop.ist.CO.UK> Organization: Athena Systems, Inc., Sunnyvale, CA Lines: 26 From article <376@istop.ist.CO.UK>, by riches@ist.CO.UK (News reading a/c for riches): > I want to animate a rubber band box on a window which has got other child > windows sitting on top of it. > > Mark Riches. There is a field in the graphics context used while performing the rendering that allows/disallows this. It is "subwindow_mode". To set it so rendering will not be clipped in the child windows use the "IncludeInferiors" flag for the mode, as follows: XGCValues gcvalues; gcvalues.subwindow_mode = IncludeInferiors; That lets you render on top of everything subordinate to your window. -Jim Becker Thanks for R3 guys at MIT! Maybe we XNetters can help them take a break and try to pickup on some of the easy tech questions.. :-)> !!