the window is a interface to the users
the window is a interface to the users
view's responsibilites are
(1) display the document's data graphically
(2) interpret user input as operations on the document
and provide member function in the document class for view to call
note: just for display and modify the document's data
not store data
In the view class
(1)In the view's OnDraw function,
(2)the view uses GetDocument to obtain the document pointer
(3) the GetDocument() function return Document pointer
(4) the View use this pointer to access the data in the document
Represents a thread of execution within an application.
9 items | 5 visits
this is about how to create window and use SDI
Updated on May 04, 09
Created on Apr 30, 09
Category: Science
URL: