Windows Programming Using MFC and Visual C Net
- Slides: 29
Windows Programming Using MFC and Visual C++. Net Introduction Masoud Milani School of Computer Science Florida International University Miami, FL 33199 milani@fiu. edu
INTRODUCTION Z This course covers the fundamental concepts and techniques necessary to write Windows-based interactive programs Z We will use the Visual Studio, Visual C++. Net and Microsoft Foundation Classes to discuss the above concepts Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 2
INTRODUCTION Z Contents: W Events and Event Handling W Windows, Dialogs and Controls W Menus and Toolbars W Application Organization C Document/View Architecture W Printing and Print Preview W Multi-Threaded Programming Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 3
REQUIREMENTS Z Working knowledge of C++ including: W Classes W Inheritance W Virtual functions W Late binding W Template classes Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 4
COURSE RESOURCES Z Web address: http: //www. cs. fiu. edu/~milani/cop 4226 Here you will find class notes, class presentations, assignments, class bulletin board, various announcements and dates and more Z Text 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 Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 5
GRADING Z Exam 1 30% Z Exam 2 30% Z Programming and Homework Assignments 40% C 2 -3 programs Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 6
COURSE OVERVIEW Z Introduction to Visual Studio W Projects W Views W Wizards W Different Application Types W Resources W Editors W MSDN Library Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 7
COURSE OVERVIEW Z Introduction to Windows W Kernel W GDI W User W Window Classes W Events and Messages W Message Loop W Window Procedures Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 8
COURSE OVERVIEW Z Microsoft Foundation Classes Z Message Boxes Z Controls W Push Buttons W Radio Buttons W Check Boxes W Slider Controls W … Z Data Exchange Z Control States Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 9
COURSE OVERVIEW Z Multi Document Applications W Application W Child. Frame W Main. Frame W Document W View Z Menus Z Toolbars, Tooltips Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 10
COURSE OVERVIEW Z Graphical Device Interface W Device Contexts W Mapping Modes, Physical and Logical Coordinates W Fonts Z Z Z Context Menus Property Sheets Printing and Print Preview Splash Screens Multi-Threaded Programming Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 11
VISUAL STUDIO Z The Visual Studio is an integrated environment for developing Windows applications Z The programmer is provided with appropriate tools to view, modify and edit different parts of the program Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 12
VISUAL STUDIO Z An application consists of many parts that together make up a project: W Classes W Resources C Dialogs C Menus C Icons C Toolbars C … Z Parts of an application are stored in different files that are contained within a folder called the project workspace Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 13
APPLICATION TYPES Z Dialog Based Application W The main window is a Dialog Box W Performs a well defined task C Calculator Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 14
APPLICATION TYPES Z Single Document Application W Allows opening of only one document at any given time C Notepad Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 15
APPLICATION TYPES Z Multiple Document Application W Allows opening of more than one document at any given time W Each document is displayed within a Childframe which is in turn contained within the client area of the Main. Frame C Word Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 16
WIZARDS Z Wizards assist programmers by W constructing a minimal application that is then enhanced by the programmer C MFC App. Wizard C MFC Console Application C … W allowing the programmer to modify the program in a fairly high level C Class Wizard Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 17
WIZARDS Z App. Wizard is a tool that based on user specifications, writes a minimal Windows application using MFC Z Class Wizard is a tool that assists programmer write classes, add members to classes and write event-handlers Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 18
CREATING A NEW PROJECT Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 19
FILE TYPES File Types Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 20
PROJECT TYPES ect W orks pace Pro jec t Na m e s W i z a rd Proj Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 21
MFC App. Wizard Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 22
MFC App. Wizard Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 23
VISUAL STUDIO Z Different parts of the Project are presented in different views: W Class View W Resource View W Solution View Z Documentation is shown within MSDN (Contents) Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 24
BUILDING A PROJECT Z Building a project requires compiling all files that have been changed since last build and then linking them Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 25
CLASS VIEW Z Presents and allows the projects underlying classes Classes and members r o t i d E Text Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 26
RESOURCE VIEW ou s Re Z Presents and allows manipulation the project’s resources s e rc e c r u or t i d E so e R Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 27
SOLUTION VIEW Z Presents and allows direct manipulation of the project’s files (learn not to use it!) Workspace files Editor Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 28
MSDN LIBRARY Z Presents various documentation Introduction to Windows Programming Using MFC and Visual C ++. Net Introduction 29
- Windows live movie maker transitions
- Windows media player 9 windows 2000
- Windows live mail windows 8
- Windows driver kit windows 7
- Windows movie maker windows 7
- Windows media player skins windows 7
- Windows identity foundation windows 10
- Upgrade windows 7 to windows 10
- Download windows xp for virtualbox
- Windows mobile center windows 10
- Manual windows movie maker
- Ipseq
- Windows 10 xp mode
- Mouse events in windows programming
- Chapter 7 linear programming solutions
- Windows system programming
- Console programming
- Windows system programming
- Windows mobile programming
- What is system programing
- Perbedaan linear programming dan integer programming
- Greedy programming vs dynamic programming
- Integer programming vs linear programming
- Programing adalah
- Mfc-002
- Mfc nacional área 1
- Manual de identidad y ordenamientos del mfc pdf
- Mfc internals
- Decalogo del equipo mfc
- Mfc internals