TAILIEUCHUNG - Lecture Visual programming: Chapter 27 - Muhammad Bilal Zafar

The following will be discussed in this chapter: SDT's for L-attributed definitions, intermediate-code generation, variants of syntax trees, directed acyclic graphs for expressions, the value-number method for constructing DAG's, three-address code, addresses and instructions, quadruples, triples. | LESSON 27 Overview of Previous Lesson(s) Over View 3 Program Over View Microsoft Foundation Classes (MFC) A set of predefined classes upon which Windows programming with Visual C++ is built. Represents an oo approach to Windows programming that encapsulates the Windows API. MFC does not adhere strictly to the object – oriented principles of encapsulation and data hiding. 4 Over View Windows Form An entity that represents a window of some kind. A Windows form is encapsulated by a subclass of the System::Windows::Forms::Form class. Lets try a Message box with previous Form 5 TODAY’S LESSON Contents Basic Elements of MFC program Documents View Document Templates Creating MFC Applications 7 Basic Elements of MFC The structure of an MFC program incorporates two application - oriented entities. A document A view 8 What is a document ?? A document is the collection of data in our application with which the user interacts. It could be a data for A game A geometric model, A text file or anything we want. 9 What is a document Document class is derived from the CDocument class in the MFC library. Application is not limited to a single document type. We can define multiple document classes when there are several different kinds of documents involved in application. 10 Document Interfaces The Single Document Interface (SDI), is supported by the MFC library for programs that require only one document to be open at a time. A program using this interface is referred to as an SDI application. MDI is used for programs needing several documents to be open at one time. 11 MDI MDI manages to handle Multiple documents of one type. Documents of different types simultaneously with each document displayed in its own window. Each document is displayed in a child window of the application window. 12 View A view is an object that provides a mechanism for displaying some or all of the data stored in a document. It defines how the data is to be displayed in a window How the user can .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.