I met this problem, and my solution is that I assumed there is no \r in the string, when processing EM_GETSEL message, but if I need \r, I can get string by invoking CEdit::GetWindowText(CString).
K
keeploading
@keeploading
Posts
-
carriage return bug in Win32 edit controls? -
I do not repaint window,when resizing.Ok, I want to capture the mouse's release message, when it finished dragging. In fact, I can capture the WM_NCLBUTTONDOWN, but I can't get the WM_NCLBUTTONUP, why?Thanks a lots.
-
I do not repaint window,when resizing.I design a class inherit CControlBar, but when I resizing it, it's size is modified continuous. I hope that it will not set size and repaint until the mouse is released.