cursor position
-
Hai, Hai I am creating a text editor. My problem is when i was selecting a word, the cursor should point the end of the selected word. I can able to select a word but i don,t know how to place the cursor at the end of the word position. I am using MC++ (windows form application). Can you tell me how to do this. Thanks.
-
Hai, Hai I am creating a text editor. My problem is when i was selecting a word, the cursor should point the end of the selected word. I can able to select a word but i don,t know how to place the cursor at the end of the word position. I am using MC++ (windows form application). Can you tell me how to do this. Thanks.
-
rose196 wrote:
I am creating a text editor. My problem is when i was selecting a word, the cursor should point the end of the selected word.
The mouse cursor? Or do you mean the Caret?[^]
led mike
-
Hai Thanks for your replay. I mean the caret. I saw the link as you mensioned above i couldn,t understand. Now i am using richtextbox. can you tell me how to get the caret current position. Thanks in advance,
The caret indicates the insertion point. When you have a selection, the selection is the insertion point so the caret applies to the whole selection. It does't make sense to show a caret at the end. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: