Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Visual C++ and MFC Fundamentals Chapter 5: The Document/View Architecture


There are two main ways the user can access the different documents of an MDI. If they
are maximized (remember that if the user maximizes one document, all the others get
maximized also), the menu of the main frame, which we always call the main menu in
this book, has an item called Window. When the Window menu item is accessed, it
would display a list of the currently opened documents. The user can then select from that
list:

The separation of the parent and the child frames allows the user to close one child
document or all documents. This would still leave the main frame of the application but
Free download pdf