Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucsdhub!hp-sdd!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.cv.hp.com (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: cursor/caret question Message-ID: <106580072@hpcvlx.cv.hp.com> Date: 1 Dec 89 18:15:00 GMT References: <32906@ucbvax.BERKELEY.EDU> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 21 / hpcvlx:comp.windows.ms / kipnis@janus.Berkeley.EDU (Gary Kipnis) / 5:48 pm Nov 30, 1989 / Hi, I am working on a program that constantly moves caret around the screen, unfortunately when I use SetCaretPos() to advance caret to a new postion most of the time the caret doesn't get erased from the previous position any suggestions would be appreciated Thank you, gary ---------- You need to call HideCaret before moving it, then call ShowCaret afterwards. [I wasn't directly involved with it, but a word processing programming team found that this was required to avoid the "caret turds," as they called them.] --Bill Turner (bturner@hp-pcd.hp.com) HP Corvallis Information Systems