![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Feb 2008
Posts: 12
Rep Power: 0
![]() |
RichTextBox and RTF
Hi again,
I've overcome most difficulties with Unicode so far (thanks to the community and some friends), but now I have another problem. I want to use Rich Text Format to display text. OK, it's not very difficult, but the main thing is that I want to display various formattings in one Rich Edit Box (using Visual Studio 2008). There are some functions that can code it, and some sources describing the process, but thus, I cannot understand it. Would someone be so nice to post me a very simple code as an example? Code should do: 1. take first string*, change formatting to bold and red colour 2. take second string*, change formatting to italic and green colour 3. display them both in one Rich Edit Box keeping their specific formattings * strings are not loaded from file, but are given as an input; purpose is NOT text editor, only display is valuable to me (and saving the text from the box to a file, but that's thing to do later) I know this is rather a thing I should have learned from documentation, but the language used there is too technical to me... Thanks in advance, WhizzKid |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|