Sid 1 2001-period3 CD5250 Daniel Flemström MDH/IDT Windowsprogrammering MFC Den enkla vägen.

Slides:



Advertisements
Similar presentations
9.How To Upgrade Title Bar Status Bar 9-1.PC System Requirements
Advertisements

Access Manual 4 By Elham S.Khorasani Ismail Guneydas Dhawala Kovuri.
How can Microsoft PowerPoint 2007 help you share information?
Just Enough AutoCAD Chapter 11 Gathering Information Measuring Areas Finding the Coordinate of a Point Measuring Distances Measuring Angles Getting the.
4.3 Searching for Patient Information 4-12 Medisoft offers two options for conducting searches for information: 1.Search for and Field boxes 2.Locate buttons.
Introduction to MFC. Motivation Abstract the Windows API Provides additional GUI options Insert Open Inventor into existing MFC application Document /
How to use the VHDL and schematic design entry tools.
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
Introduction to Microsoft Windows MFC Programming: the Application/Window Approach Lecture 4.
Tran Anh Tuan A.  Help to modify a control’s behavior by deriving classes of your own from the MFC control classes  Help to build reusable, self-contained.
1 Introduction to Human Computer Interaction  Livecode Overview  Based on Livecode User Guide from RunRev Ltd. (2010) 
1 After completing this lesson, you will be able to: View and open folders. Open, edit, and save files. Print files. Sort files. (continued)
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Bertrand Bellenot ROOT Users Workshop Mar ROOT GUI Builder Status & Plans ROOT & External GUI World MFC, FOX, Qt, PVSS… Snapshot of the Future.
Visual C++ Lecture 11 Friday, 29 Aug Windows Graphic User Interface l Event driven programming environment l Windows graphic libraries (X11 on Unix,
Introduction to Matlab & Data Analysis
MLC CAD Systems Introducing… Presented by: John McCord How to customize.
Intro to MFC. Open VS and create new project 1)Open MS Visual Studio 2008 Professional (It must be the Professional Edition, the Express Edition will.
Click your mouse to continue. Ways to Merge Data When you have finished editing your main document and inserting the merge fields, you have several choices.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Twelve Access Databases and LINQ.
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.
Working with Symbols and Interactivity
CMS Directions 1. Open Internet Explorer to our home page. 2. Click SIGN IN.
Classic Controls Trần Anh Tuấn A. Week 1 How to create a MFC project in VS 6.0 How to create a MFC project in VS 6.0 Introduction to Classic Controls.
OBJECTIVE  After completing this Lab, students will upgrade their knowledge in the field of VC++.  Students will also get the clear view about the concepts.
Microsoft Foundation Classes. What is MFC? Set of C++ classes written by MS Simplifies writing complex programs Covers many areas: – GUI – I/O – O/S interfaces.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE OUTLOOK 2003 INTRODUCTORY COURSE.
Chapter 7 Controls.
BZUPAGES.COM Visual Programming Lecture – 6- 7 Miss. SADAF MAJEED SIAL Computer Science Department Bahauddin Zakariya University Multan.
ActiveX Controls ActiveX Controls vs Ordinary Windows Controls Installing ActiveX Controls The Calendar Control ActiveX Control Container Programming Create.
COMPREHENSIVE Windows Tutorial 1 Exploring the Basics of Microsoft Windows Vista.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
Using Mail Merge.. Step by step.. The advantages by using mail merge application.
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
Chapter 23. Copyright 2003, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-2 LINKS TO OBJECTIVES Record, Run, Pause, and Delete Macros Record, Run,
Chapter 8 Dialog Boxes and Property Sheet. 2 Two kinds of dialog boxes Dialog boxes –Modal dialog When appear, it takes all ownership of input. It disables.
Dialog boxes Modal and modeless dialog boxes Displaying about dialog box: case WM_COMMAND : switch (LOWORD (wParam)) { case IDM_APP_ABOUT : DialogBox (hInstance,
Showing the Developer Tab. Windows vs Mac This is one of the places where the Mac and Windows procedures are different. We’ll look at the Windows method.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
Catholic University College of Ghana Fiapre-Sunyani INFORMATION TECHNOLOGY I Audrey Asante, Faculty of ICST Graphic User Interface Tutorials and Documentation.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Creating bibliographic records from templates Click on New icon or Record>New>Bibliographic When Select Bibliographic template dialog box opens double.
Introduction to Matlab Module #10 Page 1 Introduction to Matlab Module #10 – Creating Graphical User Interfaces Topics 1.Overview of GUI Development using.
Data-information stored in files on the disks and CDs in your computer system Why should we save a file when we create it on the computer?
Chapter 7 Controls. List box control 3 List Box Control(1/8) Listbox control: –Display lists of text strings called items –Optionally sort the items.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Creating ActiveX Controls at runtime If you need to create an ActiveX Control at runtime without a resource template entry, follow the programming steps.
Message Handling in MFC
Microsoft Visual Basic 2010: Reloaded Fourth Edition
Gateways to Independence
Jkelany Chat Project.
Creating Web Pages and Graphics
Working with Dialogs and Controls
MFC Dialog Application
Microsoft Office Illustrated
Windowsprogrammering
Access Lesson 1 Understanding Access Fundamentals
Microsoft Project 2007 Demo Part 3
Microsoft Visual Studio
GRAPHICAL USER INTERFACE
How to create a parts list in inventor
Building a Win32API Application
I dragged over the label tool (A icon) and put it on the form.
Chapter 15: GUI Applications & Event-Driven Programming
Target Board With Arrows Tags And Icons
Roadmap With Multiple Icons Success Achievement
Khongorzul D Window Programming CBNU,
Microsoft Windows 7 Basics
TIMELINE DISPLAY– Style 6
Presentation transcript:

Sid period3 CD5250 Daniel Flemström MDH/IDT Windowsprogrammering MFC Den enkla vägen

Sid period3 CD5250 Daniel Flemström MDH/IDT Lektionsmål Efter avslutad föreläsning bör vi i grova drag kunna förklara : Windows Messages, Events Resources MFC MFC ClassWizard proxyobjekt

Sid period3 CD5250 Daniel Flemström MDH/IDT Problemet Bild på vår färdiga schackapplikation....

Sid period3 CD5250 Daniel Flemström MDH/IDT Windows Messages Windows NT / 2000 MusTangenter TV... myCoolApp Yeah Do IT! Le Word Crash sdflkjdskfljdoieiiieirlkjalkjadf adsfkdkiiiert Cinema Start... WM_COMMAND WM_CHAR

Sid period3 CD5250 Daniel Flemström MDH/IDT Anatomistudie av en dialog Le Word Start... Dialog Resource Button Control Picture Control Resource Editor Control: Push Button Picture (using ICON resource) Picture (using bitmap resource) Edit Field Child window eller Dialog Item Resource ID vs Dialog item ID

Sid period3 CD5250 Daniel Flemström MDH/IDT Huvuddialogen Cinema Start... Dialogfönstret CMyDialog MessageMap GetMessageMap()

Sid period3 CD5250 Daniel Flemström MDH/IDT Child Window Le Word Start... Message Button Control Picture Control CMyDialog MessageMap GetMessageMap() OnStartClicked() function call Child Window Dialog Item Control

Sid period3 CD5250 Daniel Flemström MDH/IDT Data Connections Le Word Start... Edit Box Control CMyDialog MessageMap CString m_edit1; OnStartClicked() UpdateData()

Sid period3 CD5250 Daniel Flemström MDH/IDT Get Dialog Item Le Word Start... CMyDialog MessageMap CString m_edit1; OnStartClicked() UpdateData() CWnd* GetDlgItem(..) CWnd m_hwnd MoveWindow(.) ShowWindow(.. )

Sid period3 CD5250 Daniel Flemström MDH/IDT Get Dialog Item From Point Le Word Start... CMyDialog MessageMap CString m_edit1; OnStartClicked() UpdateData() CWnd* GetDlgItem(..) CWnd* ChildWindowFromPoint(..) CWnd m_hwnd MoveWindow(.) ShowWindow(.. )