Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!andersen!edy From: edy@andersen.com (Edy Liongosari) Newsgroups: comp.windows.x Subject: Drawing a ghost box Message-ID: <1991May17.174313.5378@casbah.acns.nwu.edu> Date: 17 May 91 17:43:13 GMT Sender: news@casbah.acns.nwu.edu (Mr. News) Organization: Andersen Consulting Lines: 9 Nntp-Posting-Host: 192.42.140.1 Hi X'ers, I am quite new in using X. How can I implement a rectangle that moves following the mouse's position within a window? Do I draw and undraw the rectangle everytime the mouse moves? -Edy