I have a RichEdit control in which I move the cursor at the desired position (by program)and I want to paste there some
text. The cursor appears at the new position but when I press Ctrl+V nothing is being pasted. If I move the cursor with a mouse click there is no problem but I don't want to move the cursor in this way.
There is the code I used:
or);//I create the cursor
the cursor is moved
m_Rich.ShowCaret();//the cursor is showed
please help me.
You can download the entire source code from