Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!masscomp!peora!tarpit!osceola.cs.ucf.edu!ssd From: ssd@engr.ucf.edu (Steven S. Dick) Newsgroups: comp.windows.x Subject: What is visible? Summary: asking the server about exposure Message-ID: <1991Jan24.140821.19001@osceola.cs.ucf.edu> Date: 24 Jan 91 14:08:21 GMT Sender: news@osceola.cs.ucf.edu (Network News) Organization: engineering, University of Central Florida, Orlando Lines: 13 I have an application for which drawing the window is computationally expensive, so I'd like to be able to draw the smallest amount possible--in other words, only the visible portions. Currently, the program triggers off of expose events, and draws each part as it is exposed. Unfortunately, the program must periodically redraw the window from scratch. When this becomes necessary, I have to guess what portions of the window are visible. Is there a way to ask the server what parts of the window are visible? Steve ssd@engr.ucf.edu