|
-
Nov 17th, 2001, 09:37 AM
#1
Thread Starter
Hyperactive Member
Rich Edit
How can I set the text of a RichEdit control using APIs?
-
Nov 17th, 2001, 11:18 AM
#2
Try sending either WM_SETTEXT or EM_REPLACESEL.
-
Nov 18th, 2001, 12:15 AM
#3
Thread Starter
Hyperactive Member
Thanks a lot, that worked just fine. Now what I want to do is set the alignment for the Send Message window in MSN Messenger to 'Right Aligned'. I tried EM_SETPARAFORMAT, it worked fine on a RichEdit Control in my VB Project, but it is not working on the RichEdit in MSN Messenger. Can you tell me how to do it?
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
|