Posted on 1998-02-20
An SDI application has a default CMyAppView generated by MFC. It is modified to have a splitter window. The left pane uses CLeftView and the right pane uses CRightView.
Which view should i use in the document template constructor in the InitInstance() and why?
// Establish the document type
// supported by the application
AddDocTemplate( new CSingleDocTemplate( IDR_MAINFRAME,
RUNTIME_CLASS( CMyAppDoc ),
RUNTIME_CLASS( CMyFrameWnd ),
RUNTIME_CLASS( ????? ) ) );