Using VC 5.0/6.0
2025-11-18
Written by: xiaobin
Supporting the coordination of application data and data renderings is a perfect job for a framework. And when Microsoft released MFC 2.0 in early 1993, it included a document/view architecture within MFC. MFC’s document/view architecture deals with the data management and User-Interface issues just described.
As an aside, MFC’s document/view is not a new idea. It was first created by the folks at Xerox PARC (by the same company that invented graphical user interface) and was a key part of ther Smalltalk environment. Smalltalk’s version of document/view is called model-view-controller(MVC)(where model=document). The Smalltalk MVC architecture has a controller(kind of like CDocTemplate in MFC) that acts like a shield between the document and the view so that they do not get too dependent on each other.
Image source: Beginning Visual C++ 2013
name: SdiSquares
vc56: Images compatible with both VC 5.0 and VC 6.0
vc5/6: The left side is VC 5.0; the right side is VC 6.0.







CSquaresApp
CSquaresDoc
CSquaresView
SquaresDoc
SquaresView


