Results 1 to 3 of 3

Thread: Rich Edit

  1. #1

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274

    Rich Edit

    How can I set the text of a RichEdit control using APIs?

  2. #2
    Megatron
    Guest
    Try sending either WM_SETTEXT or EM_REPLACESEL.

  3. #3

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    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
  •  



Click Here to Expand Forum to Full Width