|
-
April 12th, 1999, 03:39 AM
#3
Re: TTY window with MFC
Hi,
I had the same problem and solved it pragmatically by using a CEditView derived class (I called it CLogView). Then I added a printf which finds the CLogView via a static member of CLogView.
In InitInstance I added:
// this is for the log view.
m_pLogTemplate = new CMultiDocTemplate(
IDR_LOGTYPE,
RUNTIME_CLASS(CLogDoc),
RUNTIME_CLASS(CMDIChildWnd), // standard MDI child frame
RUNTIME_CLASS(CLogView));
AddDocTemplate(m_pLogTemplate);
Let me know if you need more details.
Dieter Fauth :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|