Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!cs.umn.edu!talon.UCS.ORST.EDU!orstcs! From: neopand@prism.CS.ORST.EDU Newsgroups: comp.windows.x Subject: How do you move a filled-rectangle without flickering? Message-ID: <1991May14.220025.28972@lynx.CS.ORST.EDU> Date: 14 May 91 22:00:25 GMT Article-I.D.: lynx.1991May14.220025.28972 Sender: @lynx.CS.ORST.EDU Organization: Oregon State University, Computer Science Dept. Lines: 15 Nntp-Posting-Host: prism.cs.orst.edu I did it by first drawing a filled rectangle, drawing the rectangle in next location(one pixel ahead), and then erasing the old one. But it gives a flickering effect as it moves. I wonder if somebody out there knows a better way to do this without the flickering effect. Thank you. -DN _______________________________________________________________ | Deepak Neopane | INTERNET:neopand@prism.cs.orst.edu| | 618 Finley Hall, OSU | BITNET :neopaned@orstvm.bitnet | |_Corvallis,_OR 97331-1208|_503-737-8633______________________|