Question on Document View Architecture in MFC.
-
Hello All, I have a SDI MFC Application created with: 1. Application class derived from CWinApp, 2. Frame window class derived from CFrameWnd, 3. Document class derived from CDocument and 4. View class derived from CView. I have all the required message maps and handlers in place and required registered doc templete. My problem is when I bring up the SDI Window and try to write on the window some text, I am not able to even bring the cursor control on to the SDI window. Please comment. Thanks and Regds. Amar.
-
Hello All, I have a SDI MFC Application created with: 1. Application class derived from CWinApp, 2. Frame window class derived from CFrameWnd, 3. Document class derived from CDocument and 4. View class derived from CView. I have all the required message maps and handlers in place and required registered doc templete. My problem is when I bring up the SDI Window and try to write on the window some text, I am not able to even bring the cursor control on to the SDI window. Please comment. Thanks and Regds. Amar.
While creating your SDI app, make your view class to derive from
CEditView
instread ofCView
.Prasad Notifier using ATL | Operator new[],delete[][^]