1. Trang chủ
  2. » Trung học cơ sở - phổ thông

Lecture Visual programming: Chapter 29 - Muhammad Bilal Zafar - TRƯỜNG CÁN BỘ QUẢN LÝ GIÁO DỤC THÀNH PHỐ HỒ CHÍ MINH

10 6 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 50,03 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

functions that handle Windows messages bounded by a couple of macros. 7.[r]

Trang 1

LESSON 29

Trang 2

Overview

of Previous Lesson(s)

Trang 3

Over View

• SDI programs

– The Application Wizard can generate single-document interface (SDI) applications that work

with a single document and a single view

• MDI programs

– Multiple - document interface (MDI) programs that

can handle multiple documents with multiple

views simultaneously

3

Trang 4

Over View

• The application object

– A program can have only one application object

– This is defined automatically by the Application

Wizard at global scope

• Document objects

– A document class object stores application - specific data, and a view class object displays the

contents of a document object

4

Trang 5

Over View

• The View Object

– Each view object can provide a different presentation of the document data or a subset of

the same data

• Windows Frame Object

– Each frame window object stores a pointer to the

currently active view object

5

Trang 6

Over View

• Document templates

– A document template class object is used to tie

together a document, a view, and a window

– For an SDI application, a CSingleDocTemplate

class does this

– For an MDI application, the CMultiDocTemplate

class is used

6

Trang 7

Over View…

• Message Handlers

– MFC provides functions to handle just the individual messages that we are interested in and

to ignore the rest

• Message Map

– A message map for a class is a table of member

functions that handle Windows messages

bounded by a couple of macros

7

Trang 8

Over View…

• SDI Example

– TextEditor

• MDI Example

– Sketcher

8

Trang 9

TODAY’S LESSON

Trang 10

• Classic ASP - Active Server Pages

• Environmental Setup

• ASP.NET Life Cycle

• ASP.NET Page Life Cycle Events

– Page Directive

– Code Section

– Page Layout

10

Ngày đăng: 01/04/2021, 17:07

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w