Presentation is loading. Please wait.

Presentation is loading. Please wait.

Masoud Milani School of Computer Science Florida International University Miami, FL Windows Programming Using MFC and.

Similar presentations


Presentation on theme: "Masoud Milani School of Computer Science Florida International University Miami, FL Windows Programming Using MFC and."— Presentation transcript:

1 Masoud Milani School of Computer Science Florida International University Miami, FL 33199milani@fiu.edumilani@fiu.edu Windows Programming Using MFC and Visual C ++.Net Introduction

2 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 2 INTRODUCTION This course covers the fundamental concepts and techniques necessary to write Windows-based interactive programs ZWe will use the Visual Studio, Visual C++.Net and Microsoft Foundation Classes to discuss the above concepts

3 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 3 INTRODUCTION ZContents: WEvents and Event Handling WWindows, Dialogs and Controls WMenus and Toolbars WApplication Organization CDocument/View Architecture WPrinting and Print Preview WMulti-Threaded Programming

4 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 4 REQUIREMENTS ZWorking knowledge of C ++ including: WClasses WInheritance WVirtual functions WLate binding WTemplate classes

5 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 5 COURSE RESOURCES ZWeb address: http://www.cs.fiu.edu/~milani/cop4226 Here you will find class notes, class presentations, assignments, class bulletin board, various announcements and dates and more ZText Book: I am not using any particular text book. There will be plenty of reading material on the course web site and MSDN libraries have an extensive set of online manuals

6 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 6 GRADING ZExam130% ZExam230% ZProgramming and Homework Assignments 40% C2-3 programs

7 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 7 COURSE OVERVIEW ZIntroduction to Visual Studio WProjects WViews WWizards WDifferent Application Types WResources WEditors WMSDN Library

8 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 8 COURSE OVERVIEW ZIntroduction to Windows WKernel WGDI WUser WWindow Classes WEvents and Messages WMessage Loop WWindow Procedures

9 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 9 COURSE OVERVIEW ZMicrosoft Foundation Classes ZMessage Boxes ZControls WPush Buttons WRadio Buttons WCheck Boxes WSlider Controls W…W… ZData Exchange ZControl States

10 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 10 COURSE OVERVIEW ZMulti Document Applications WApplication WChildFrame WMainFrame WDocument WView ZMenus ZToolbars, Tooltips

11 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 11 COURSE OVERVIEW ZGraphical Device Interface WDevice Contexts WMapping Modes, Physical and Logical Coordinates WFonts ZContext Menus ZProperty Sheets ZPrinting and Print Preview ZSplash Screens ZMulti-Threaded Programming

12 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 12 VISUAL STUDIO ZThe Visual Studio is an integrated environment for developing Windows applications ZThe programmer is provided with appropriate tools to view, modify and edit different parts of the program

13 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 13 VISUAL STUDIO ZAn application consists of many parts that together make up a project: WClasses WResources CDialogs CMenus CIcons CToolbars C…C… ZParts of an application are stored in different files that are contained within a folder called the project workspace

14 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 14 APPLICATION TYPES ZDialog Based Application WThe main window is a Dialog Box WPerforms a well defined task CCalculator

15 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 15 APPLICATION TYPES ZSingle Document Application WAllows opening of only one document at any given time CNotepad

16 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 16 APPLICATION TYPES ZMultiple Document Application WAllows opening of more than one document at any given time WEach document is displayed within a Childframe which is in turn contained within the client area of the MainFrame CWord

17 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 17 WIZARDS ZWizards assist programmers by Wconstructing a minimal application that is then enhanced by the programmer CMFC AppWizard CMFC Console Application C…C… Wallowing the programmer to modify the program in a fairly high level CClass Wizard

18 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 18 WIZARDS ZAppWizard is a tool that based on user specifications, writes a minimal Windows application using MFC ZClass Wizard is a tool that assists programmer write classes, add members to classes and write event- handlers

19 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 19 CREATING A NEW PROJECT

20 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 20 FILE TYPES File Types

21 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 21 PROJECT TYPES Wizards Project Workspace Project Name

22 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 22 MFC AppWizard

23 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 23 MFC AppWizard

24 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 24 VISUAL STUDIO ZDifferent parts of the Project are presented in different views: WClass View WResource View WSolution View ZDocumentation is shown within MSDN (Contents)

25 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 25 BUILDING A PROJECT ZBuilding a project requires compiling all files that have been changed since last build and then linking them

26 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 26 CLASS VIEW ZPresents and allows the projects underlying classes Text Editor Classes and members

27 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 27 RESOURCE VIEW ZPresents and allows manipulation the projects resources Resources Resource Editor

28 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 28 SOLUTION VIEW ZPresents and allows direct manipulation of the projects files (learn not to use it!) Workspace files Editor

29 Introduction to Windows Programming Using MFC and Visual C ++.Net Introduction 29 MSDN LIBRARY ZPresents various documentation


Download ppt "Masoud Milani School of Computer Science Florida International University Miami, FL Windows Programming Using MFC and."

Similar presentations


Ads by Google