Answer Posted / surendra mishra
A MFC application is created using different classes. Each
of the class has given a distinct responsibility.
1. Frame window class - Represents the application window.
2. View class- Represents the data to the user in specific
understandable format.
3. Document class – Represents the applications data.(
Program data used by application during its execution).
MFC architecture allows user to represent the data as
documents in different views (formats ex. Charts, tabular,
textual). View(s) are attached to the application frame
window.
SDI Example: Let us say we have a application with name
MySDI..
In SDI application we have following major classes derive.
CMySDIApp-Application class derived from CWinApp.
e) CMainFrame - Frame Window class derived from CFrameWnd
f) CMySDIView - View class derived from CView (Can have
multiple classes)
g) CMainDoc - Document class derived from CDocument.
Above three classes are bind together using a Template
class called as CSingleDocTemplate.
Is This Answer Correct ? | 35 Yes | 4 No |
Post New Answer View All Answers
What does mfc stand for?
Do you have an idea about MFC?
How do I create a dialog box in mfc?
what is functioning of DIalodDataXchange ..?
what message is sent to an application when the user presses the primary button?
I want recent paper pattern for HP company?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
how to repaint when working with horizontal scroll bar
plzz tell me what we can do and dont in tally ERP & sap business one?
List out the basic features of MFC.
What is the difference between Struts and JSF? Pls list some most suitable differences.
What is mfc class hierarchy?