Mfc application wizard multiple top level documents
- #Mfc application wizard multiple top level documents update
- #Mfc application wizard multiple top level documents code
- #Mfc application wizard multiple top level documents windows
In short, the framework manages almost every aspect of an MDI application's user interface to spare you the chore of having to do it yourself.
#Mfc application wizard multiple top level documents code
On the inside, MFC devotes hundreds of lines of code to MDI-specific chores such as dynamically switching menus and creating new views of open documents. One is displayed when no documents are open the other is displayed when at least one document is open.
#Mfc application wizard multiple top level documents windows
It's the developer's responsibility to implement the Window menu.
#Mfc application wizard multiple top level documents update
For example, it's the developer's responsi-bility to update the menu that appears in the top-level frame window as documents are opened, closed, and switched between. Without help from a framework such as MFC, MDI applications require more effort to create than SDI applications. MDI applications use two: a top-level frame window and child frames or document frames that float within the top-level frame window and frame views of open documents.
SDI applications, by contrast, require the user to close the currently open document before opening another.
From a user's point of view, five fundamental characteristics distinguish MDI applications from SDI applications: