richedit control example

This is a discussion on richedit control example within the Windows Programming forums, part of the Platform Specific Boards category; hey, does anyone know where i can find an example / tutorial for a richedit control? i've been reading up ...

  1. #1
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378

    richedit control example

    hey, does anyone know where i can find an example / tutorial for a richedit control? i've been reading up over at MSDN but
    Code:
    typedef struct _charformat2 {
        UINT cbSize;
        DWORD dwMask;
        DWORD dwEffects;
        LONG yHeight;
        LONG yOffset;
        COLORREF crTextColor;
        BYTE bCharSet;
        BYTE bPitchAndFamily;
        TCHAR szFaceName[LF_FACESIZE];
        WORD wWeight;
        SHORT sSpacing;
        COLORREF crBackColor;
        LCID lcid;
        DWORD dwReserved;
        SHORT sStyle;
        WORD wKerning;
        BYTE bUnderlineType;
        BYTE bAnimation;
        BYTE bRevAuthor;
        BYTE bReserved1;
    } CHARFORMAT2;
    doesn't explain a damn thing, lol. and if an example is needed, say a person wanted to set the selected text to be bold. how can this be accomplished? google & msdn's search function hasn't done me much good because i can't find examples / tutorials of these things.
    thanks
    Registered Linux User #380033. Be counted: http://counter.li.org

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786

  3. #3
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    awesome, thanks.
    Registered Linux User #380033. Be counted: http://counter.li.org

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading plain text into a RichEdit control
    By JustMax in forum C Programming
    Replies: 0
    Last Post: 02-03-2009, 02:15 PM
  2. Wordbreak in a RichEdit control
    By Joelito in forum Windows Programming
    Replies: 1
    Last Post: 01-05-2007, 06:18 PM
  3. WIN32 API: RichEdit control RTF data size
    By wn00 in forum Windows Programming
    Replies: 2
    Last Post: 09-05-2006, 06:15 PM
  4. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21