functions that handle Windows messages bounded by a couple of macros. 7.[r]
(1)(2)Overview of
(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
(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
(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
(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
(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
(8)Over View…
• SDI Example
– TextEditor
• MDI Example
– Sketcher
(9)(10)Contents
• Classic ASP - Active Server Pages
• ASP.NET
• ASP.NET Component Model
• Environmental Setup • ASP.NET Life Cycle
• ASP.NET Page Stages
• ASP.NET Page Life Cycle Events
• ASP.NET Page
– Page Directive – Code Section – Page Layout