MFC multiple documents?
-
I have a MFC program which supports Documents but I want my program to start with multiple documents. How could it be possible? Earth is like an apple, where are worms in it - the worms are humans...
I guess if you call OpenDocument as many times that many document window and view will be opened. IndrekSnt wrote: Earth is like an apple, where are worms in it - the worms are humans... IndrekSnt wrote: where are worms in it Is it a question or a statement?
-
I guess if you call OpenDocument as many times that many document window and view will be opened. IndrekSnt wrote: Earth is like an apple, where are worms in it - the worms are humans... IndrekSnt wrote: where are worms in it Is it a question or a statement?
BOOL CGLprMpDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; }
What do I have to write between lines:// (SDI documents will reuse this document)
and:return TRUE;
--- Earth is like an apple, where are worms in it - the worms are humans... -
BOOL CGLprMpDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; }
What do I have to write between lines:// (SDI documents will reuse this document)
and:return TRUE;
--- Earth is like an apple, where are worms in it - the worms are humans... -
I have a MFC program which supports Documents but I want my program to start with multiple documents. How could it be possible? Earth is like an apple, where are worms in it - the worms are humans...
This may be a little off the wall but you might want to think about the benefits of using Forth. It is a fine training language and will allow you to master the concept of object oriented thinking and open many possibilities for you.
My neighbours think I am crazy - but they don't know that I have a trampoline. All they see my head bobbing up and down over the fence every five seconds
-
This may be a little off the wall but you might want to think about the benefits of using Forth. It is a fine training language and will allow you to master the concept of object oriented thinking and open many possibilities for you.
My neighbours think I am crazy - but they don't know that I have a trampoline. All they see my head bobbing up and down over the fence every five seconds
-
Kidding
My neighbours think I am crazy - but they don't know that I have a trampoline. All they see my head bobbing up and down over the fence every five seconds