Thread: RichEdit need help!!!

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    4

    RichEdit need help!!!

    1. How do change the font styles (bold etc) for individual lines of text in a richedit control?

    2. Are there any methods such as Page Break etc in C++?

    3. Is there any way of adding images to richedit pages? I want to be able to print out a page with pictures and richtext on it? Is a richedit control the best way or is there any alernative?

    Any help very grateful!

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    As for the first question, I know there are a lot of threads about formatting text in a rich edit control. Here's one (it is specifically about changing the text color, but it should help if you check here for info on the CHARFORMAT structure)

    I can't help with your other two questions, but you should search MSDN if you haven't already.

    Edit: Changed the MSDN link to the library page
    Last edited by JaWiB; 08-21-2004 at 02:31 PM.
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing on a RichEdit?
    By Sea Monster in forum Windows Programming
    Replies: 5
    Last Post: 12-30-2003, 02:17 PM
  2. multiline richedit scrolling issue
    By tyouk in forum Windows Programming
    Replies: 1
    Last Post: 11-03-2003, 05:59 AM
  3. Problems with my richedit...
    By tyouk in forum Windows Programming
    Replies: 2
    Last Post: 11-02-2003, 04:57 AM
  4. RichEdit Problem
    By dirkduck in forum Windows Programming
    Replies: 0
    Last Post: 07-24-2003, 05:50 PM
  5. RichEdit Help Please??(PLEASE READ!)
    By SyntaxBubble in forum Windows Programming
    Replies: 1
    Last Post: 05-26-2002, 01:07 PM