|
-
May 26th, 1999, 01:33 PM
#1
Rich Edit Control
How to set the insertion point in a Richt Edit Control.
Sorry I know it must be simple.
-
May 26th, 1999, 01:56 PM
#2
Re: Rich Edit Control
Hi,
I think you probably need the SetSel member function of the RichEdit control. To set it at the 100 character, something like SetSel(100, 100) should do.
Hope this helps,
Simon
-
May 26th, 1999, 04:13 PM
#3
Re: Rich Edit Control
Thanks a lot, the problem I have with this method is.
I am writing a document where I would like to write the first line and protect it. I have use the code in the Richeditctrl section here. When i Protect the first line, the user can append to the first line, and I dont want him to that. If I make the protected character the lenght of the first line+ 1 and place the insertion point with your suggestions, the user can´t write anything before using the arrows.
Strange...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|