MFC/GUI II
Home Up MFC/GUI I MFC/GUI II MFC Database Embeded Docs

Programming MFC with C++ Part II

This course finishes up the basics of GUI programming with MFC. In addition we cover DLLs and a very brief introduction to ActiveX controls.

Students will learn the Document/View architecture; Microsoft's version of the famous Model/View/Controller pattern. This will allow students to create applications that display the same data many ways. For example, the same data can be displayed as a pie chart, bar graph, or table of numbers, or even a data entry form.

Accepting keyboard and mouse input is also covered with details on character code translations, coordinate system translations, and famous techniques like rubber banding for drawing applications.

Duration: 3 Days

Prerequisites

Students are assumed to have taken MFC/GUI Programming Part I.

Topics

bulletThe Document View Architecture
bulletMDI v. SDI
bulletClasses CDocument, CView, CMainFrame, CWinApp
bulletDecoupling views from documents
bulletMultiple view objects v. multiple view classes
bulletAdding another view class 
bulletSplitter windows
bulletStatic v. dynamic
bulletAdding dynamic splitters
bulletForm views
bulletForm views v. modeless dialogs
bulletImplementing form views
bulletImplementing panning with scroll bars
bulletThe problem
bulletLeft handed coordinate systems
bulletDevice v logical
bulletTranslating between coordinate systems
bulletRubber banding
bulletThe XOR operation
bulletThe redraw operation
bulletAccepting keyboard input
bulletKeyboard messages
bulletTranslating WM_KEYDOWN to WM_CHAR
bulletImplementing insertion points
bulletCreation, destruction
bulletGaining/Loosing focus
bulletDynamic Link Libraries
bulletDLLs v. LIBs
bulletSpecial considerations
bulletC++
bulletMFC
bulletKinds of DLLs
bulletCreating DLLs
bulletDebugging
bulletVersioning problems
bulletActiveX, COM & OLE
bulletSolving the versioning problem
bulletCreating ActiveX Controls
bulletUsing ActiveX controls
 

 

Home Up Feedback Contents Search

Send mail to webmaster@SIGNITEK.com with questions or comments about this web site.