CompuServe Thread

CEdit and SetCaratPos()

2 messages in this thread
#30350From: Jake L. VanNoyJul 8, 1994 10:10 PM
I have a dynmaically sizing CEdit subclass too, and your description sounds more or less like my code. I don't have any problem with the caret on wraps though. Instead of SetWindowPos(), I'm using MoveWindow(ptNewLoc.x, ptNewLoc.y, sizeNeeded.cx, sizeNeeded.cy, TRUE); // new size, force repaint I hadn't figured out how to set the caret position when this CEdit was created, however, so now I'm off to play with SetSel…
#30532From: Jan VandenboschJul 11, 1994 1:16 PM
Jake, > so now I'm off to play > with SetSel… nice to hear your having fun with the MFC functions 😉 Jan