Splitter window with RichEditView
-
Hi, I have created SDI application from CView base class, Now I want to type charactors on the client area. But it was derived from CView so i couldn't get control. So I have created one CRichEditView class object. But i dont know to create the RichEditView for the currently active window. Pls help me
-
Hi, I have created SDI application from CView base class, Now I want to type charactors on the client area. But it was derived from CView so i couldn't get control. So I have created one CRichEditView class object. But i dont know to create the RichEditView for the currently active window. Pls help me
Ummm - why not just change your custom view to derive from
CRichEditView
? You'll also have to replaceCView
withCRichEditView
in various places in your view's .cpp file, for example, in anIMPLEMENT_DYNCREATE
statement, aBEGIN_MESSAGE_MAP
statement and whereCView
methods are called (e.g. your view'sPreCreateWindow
method will callCView::PreCreateWindow
- that should be changed toCRichEditView::PreCreateWindow
).Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p