I created an application sdi but the editor part will be rich edit control. i derived from CWnd my rich edit control.
class CRichEditControl50W : public CWnd
{
DECLARE_DYNAMIC(CRichEditControl50W)
}
i wrote all my functions own like:
void SetSel50W(long nStartChar, long nEndChar);
BOOL SetDefaultCharFormat50W(DWORD dwMask, COLORREF crTextColor, DWORD dwEffects, LPTSTR szFaceName, LONG yHeight, COLORREF crBackColor);
void SetTextTo50WControl(CString csText, int nSTFlags, int nSTCodepage);
void LimitText50W(int nChars);
void SetOptions50W(WORD wOp, DWORD dwFlags);
DWORD SetEventMask50W(DWORD dwEventMask);
void GetTextRange50W(int ncharrMin, int ncharrMax);
my doubt is how to get the text from that rich edit control .it is sdi not dialog ?