Re: How to construct the RTF format to display text like a hyperlink in RichEdit
From: Anonymous (nospam_at_noISP.com)
Date: 03/30/04
- Next message: Anonymous: "Character size in rich edit control?"
- Previous message: Severian: "Re: MS Shell Dlg does not work for Japanese"
- In reply to: kaiduan: "How to construct the RTF format to display text like a hyperlink in RichEdit"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 05:11:09 GMT
kaiduan wrote:
> I am going to write a text into RichEdit to let it to be displayed like a hyperlink ( can send EN_LINK notification), but the text itself is not a http URL.
> One way to do that is to format the text into RTF format. But the whole RTF specification is too lengthy. Can anyone tell me the format just for this requirement?
You can use a word processor (e g, MS Word) to create the text, formatted as you like, and
to output an .RTF file. That will have the RTF formatting commands in it. You can see them
by using a word processor (e g, MS Word) to open the .RTF file as text.
The RTF file can be streamed into your rich edit control, or you can extract just the
formatting commands you need and write them into your pgm.
sherNOwoodSPAM@computer.org (remove caps to get e-mail)
- Next message: Anonymous: "Character size in rich edit control?"
- Previous message: Severian: "Re: MS Shell Dlg does not work for Japanese"
- In reply to: kaiduan: "How to construct the RTF format to display text like a hyperlink in RichEdit"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|