What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » RichEdit: Formatting Text using SendMessage from the Windows' APIs

RichEdit: Formatting Text using SendMessage from the Windows' APIs
Author: Message:
whiles
New Member
*


Posts: 6
33 / Male / –
Joined: Aug 2006
O.P. Huh?  RichEdit: Formatting Text using SendMessage from the Windows' APIs
Hi everyone,

i'm writing a script that use a RichEdit and i must make it like an rtf-text editor, wherein the user can color the selected text, change the background, make the selected text bold, italic, underlined, striked.... but i don't found any method that makes this.

In the irc channel support dt suggested me to use windows APIs and the SendMessage method, and he made me a script that i've adapted. The script is this: http://pastebin.com/775531.

The XML Form is this: http://pastebin.com/775537 .


The problem is that: the debugger reports no errors, but the RichEdit looks like... not rich. In fact if i paste a RTF text to the richEdit, the text appears plain and not RTF. There's a problem with the form, or with the script???

Thank you very much.

This post was edited on 08-25-2006 at 06:14 PM by whiles.
08-25-2006 09:55 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RichEdit: Formatting Text using SendMessage from the Windows' APIs - by whiles on 08-25-2006 at 09:55 AM
RE: RichEdit looks like... not rich - by RaceProUK on 08-25-2006 at 10:25 AM
RE: RichEdit looks like... not rich - by Dempsey on 08-25-2006 at 10:31 AM
RE: RichEdit looks like... not rich - by Eljay on 08-25-2006 at 11:12 AM
RE: RichEdit looks like... not rich - by whiles on 08-25-2006 at 04:17 PM
RichEdit: Formatting Text using SendMessage from the Windows' APIs - by whiles on 08-26-2006 at 08:34 AM
RichEdit: Formatting Text using SendMessage from the Windows' APIs - by whiles on 08-27-2006 at 08:50 PM
RE: RichEdit: Formatting Text using SendMessage from the Windows' APIs - by matty on 08-27-2006 at 09:03 PM
RE: RE: RichEdit: Formatting Text using SendMessage from the Windows' APIs - by whiles on 08-28-2006 at 07:08 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On