An Introduction to Windows Programming (MFC) Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering.

Slides:



Advertisements
Similar presentations
12004, TorinoAram Kotzinian Outline Why L ? Transverse polarization of L Data Models Transversity Longitudinal polarization of L LEP data models Semi-inclusive.
Advertisements

A Model for Infusing Engineering and Programming Concepts in Introduction to Computer Courses at Community Colleges. Intro to Robotics and Programming.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
Loading 100% 52% 63% 78% 96% 52% 42% 12% 16% 18% 21% 26%
Pattern Recognition Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Unit 13 Analysis of Clocked Sequential Circuits
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
OOP Design Patterns Chapters Design Patterns The main idea behind design patterns is to extract the high level interactions between objects and.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Supervised by Prof. LYU, Rung Tsong Michael Department of Computer Science & Engineering The Chinese University of Hong Kong Prepared by: Chan Pik Wah,
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
CSE328:Computer Graphics OpenGL Tutorial Dongli Zhang Department of Computer Science, SBU Department of Computer Science, Stony.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
MVC pattern and implementation in java
Systems Analysis and Design in a Changing World, Fifth Edition
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
CSC300 Visual Programming Dr. Craig Reinhart. Objectives Teach the basics of C++ –You won’t be an expert but hopefully a very good novice –GUI development.
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
Image Buffer Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
An Introduction to Visual Basic
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Model-View-Controller Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Visual C++ Lecture 11 Friday, 29 Aug Windows Graphic User Interface l Event driven programming environment l Windows graphic libraries (X11 on Unix,
C++ MFCs CS 123/CS 231. MFC: Writing Applications for Windows zClasses in MFC make up an application framework zFramework defines the skeleton of an application.
12 Systems Analysis and Design in a Changing World, Fifth Edition.
Integrated Development Environment (IDE)
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Drexel University CS 451 Software Engineering Winter Yuanfang Cai Room 104, University Crossings
Dale Roberts GUI Programming using Java - Introduction Dale Roberts, Lecturer Computer Science, IUPUI Department of Computer.
Ch 3-4: GUI Basics Java Software Solutions Foundations of Program Design Sixth Edition by Lewis & Loftus Coming up: GUI Components.
Object-Oriented Design Simple Program Design Third Edition A Step-by-Step Approach 11.
Chapter 1 Program Development Asserting Java © Rick Mercer.
© ABB University - 1 Revision C E x t e n d e d A u t o m a t i o n S y s t e m x A Chapter 4 Engineering Workplace Course T314.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Module 1 Windows Client Application Design. Module Overview Windows Client Technologies Architectural Patterns.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Overview of Previous Lesson(s) Over View 3 Program.
Murach's C# 2012, C2© 2013, Mike Murach & Associates, Inc. Slide 1.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
High degree of user interaction Interactive Systems: Model View Controller Presentation-abstraction-control.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Chapter Topics 15.1 Graphical User Interfaces
Introduction to Visual Basic 2008 Programming
Chapter Nine The Strategy Pattern
Design Patterns Introduction
Lecture 8 Object Oriented Programming Using Java
Introduction to .NET Framework Ch2 – Deitel’s Book
MFC Dialog Application
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
VISUAL BASIC.
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Building Graphical User Interface with Swing a short introduction
Patterns.
Chapter 15: GUI Applications & Event-Driven Programming
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

An Introduction to Windows Programming (MFC) Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University

22004/03/08Windows Programming Outline Background Key Concepts Key Concepts MFC MFC Patterns PatternsModel-View-ControllerDocument-View First Windows program Compiler Compiler Project Project Wizard Wizard Example Example

32004/03/08Windows Programming Key Concepts Instance Program Program Process Process

42004/03/08Windows Programming Key Concepts A program consists of Algorithm + Data Algorithm + Data Dialog component + Computation component Dialog component + Computation component

52004/03/08Windows Programming Key Concepts A Windows Program Resources Resources Dialog boxes Menus Device Context (DC) Events EventsKeyboardMouseTimer Call-back function Call-back function

62004/03/08Windows Programming MFC Microsoft Foundation Class C++ class library C++ class library Framework for Windows programming Framework for Windows programming

72004/03/08Windows Programming Patterns Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice. Christopher Alexander Christopher Alexander

82004/03/08Windows Programming Interactive System A high degree of user interaction Graphical user interfaces Challenges Keep the functional core independent of the user interface Keep the functional core independent of the user interface

92004/03/08Windows Programming Model-View-Controller (MVC) Dividing an interactive application into three components Model: contain core functionality and data Model: contain core functionality and data View: display information View: display information Controller: handle user input Controller: handle user input Views and controllers comprise the user interface.

102004/03/08Windows Programming Model-View-Controller (MVC)

112004/03/08Windows Programming Document-View In several GUI platforms, window display and event handling are closely interwoven. A variant of MVC Relaxing the separation of view and controller Relaxing the separation of view and controller Supported by MFC CDocument CDocument CView CView

122004/03/08Windows Programming Compiler Microsoft Visual Studio.Net 2002 Microsoft Visual Studio.Net 2002 Visual Studio 6.0 … Visual Studio 6.0 …

132004/03/08Windows Programming Compiler

142004/03/08Windows Programming Project A module A basic unit (logical coherence) A basic unit (logical coherence) *.c/*.h or *.cpp/*.h *.c/*.h or *.cpp/*.h A project A program A program Consisting of many modules Consisting of many modules Adding/removing modules Adding/removing modules

152004/03/08Windows Programming Wizard Help building an application by asking questions Step by step Step by step Available default settings Available default settings

162004/03/08Windows Programming Example

172004/03/08Windows Programming Example

182004/03/08Windows Programming Example

192004/03/08Windows Programming Example

202004/03/08Windows Programming Example

212004/03/08Windows Programming Example

222004/03/08Windows Programming Example

232004/03/08Windows Programming Example

242004/03/08Windows Programming Example

252004/03/08Windows Programming Example

262004/03/08Windows Programming Example

272004/03/08Windows Programming Example

282004/03/08Windows Programming Example

292004/03/08Windows Programming Example