hey, does anyone know where i can find an example / tutorial for a richedit control? i've been reading up over at MSDN butdoesn'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.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;
thanks