CN17440C/N1744 - Presentation Manager: Windowing & Graphics: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
(Created page with " 5 days, hands-on labs Public, private This course focuses on advanced windowing topics such as custom dialog controls and Graphical Program Interface (GPI) graphics. You'l...")
 
No edit summary
Line 1: Line 1:
= Course N1744: Presentation Manager: Windowing & Graphics =


5 days, hands-on labs
==Synopsis==
Public, private
 
This course focuses on advanced windowing topics such as custom dialog controls and Graphical Program Interface (GPI) graphics. You'll examine numerous sample programs and write intensive hands-on lab exercises to reinforce lecture topics. The course is a continuation of Presentation Manager 2.X for Software Developers (N1688). It is intended for OS/2 versions 1.X and 2.X developers.  
This course focuses on advanced windowing topics such as custom dialog controls and Graphical Program Interface (GPI) graphics. You'll examine numerous sample programs and write intensive hands-on lab exercises to reinforce lecture topics. The course is a continuation of Presentation Manager 2.X for Software Developers (N1688). It is intended for OS/2 versions 1.X and 2.X developers.  


Who Should Take This Course: OS/2 Presentation Manager programmers who want to raise their skill levels.  
==Who Should Take This Course==
 
OS/2 Presentation Manager programmers who want to raise their skill levels.  
How you will benefit: Learn how to:
 
oUnderstand all GPI drawing primitives including lines, arcs, and bitmaps
 
oUse GPI programming techniques including transforms, metafiles, and retained graphics
 
oUse windowing techniques including subclassing, owner-draw, and user-paint dialog controls and menus
 
oWrite custom dialog control windows
 
oWrite programs that use Dynamic Data Exchange (DDE) and the clipboard to communicate with other programs
 
oWrite programs that perform device-independent output (WYSIWYG: What You See Is What You Get)
 
Topics:
 
oIntroduction to Graphical Program Interface
 
-Modal drawing interface
-Categories of graphical program interface calls
 
oDevice Contexts and Presentation Spaces
 
-Types of device contexts
-Types of presentation spaces
-Sample usage
 
oIntroduction to Device Independence
 
-Presentation page units
-Introduction to coordinate systems
 
oLines and Boxes
 
-Line and box primitives
-Line and box attributes
 
oColor and Mix
 
-Logical and physical colors
-Color tables
-Mix modes
 
oMouse Messages
 
-Capturing the mouse
 
oWindow Words
 
-Window-specific data
-System usage of window data
 
oSegments and Retained Graphics
 
-Drawing modes
-Segment attributes
-Setting labels in segments
-Editing segments
 
oIntroduction to Transforms
 
-World coordinates
-Matrix arithmetic
-Scaling, translating, rotating, and shearing
 
oApplying Transforms
 
-Transform API
 
oVector Fonts
 
-Bitmap versus vector fonts
-Creating a vector font
-Transforming vector fonts
-Vector font special effects
 
oCorrelation
 
-Setting correlation tags
-Correlation API
 
oAreas


-Drawing and filling areas
==How you will benefit==
-Fill modes
Learn how to:


oPaths
* Understand all GPI drawing primitives including lines, arcs, and bitmaps
* Use GPI programming techniques including transforms, metafiles, and retained graphics
* Use windowing techniques including subclassing, owner-draw, and user-paint dialog controls and menus
* Write custom dialog control windows
* Write programs that use Dynamic Data Exchange (DDE) and the clipboard to communicate with other programs
* Write programs that perform device-independent output (WYSIWYG: What You See Is What You Get)


-Geometric lines
==Topics==
-Clip paths


oArcs
* Introduction to Graphical Program Interface
** Modal drawing interface
** Categories of graphical program interface calls


-Arc attributes
* Device Contexts and Presentation Spaces
-Full arcs
** Types of device contexts
-Three-point and partial arcs
** Types of presentation spaces
-Fillets and splines
** Sample usage


oBitmaps
* Introduction to Device Independence
** Presentation page units
** Introduction to coordinate systems


-Bitmap formats
* Lines and Boxes
-Creating a bitmap
** Line and box primitives
-Bitmap APE
** Line and box attributes
-Shadow bitmaps


oMetafiles
* Color and Mix
** Logical and physical colors
** Color tables
** Mix modes


-Creating a metafile DC
* Mouse Messages
-Playing a metafile
** Capturing the mouse


oAdvanced Menus
* Window Words
** Window-specific data
** System usage of window data


-Menu types and structure
* Segments and Retained Graphics
-Methods to create menus
** Drawing modes
-System menus
** Segment attributes
-Owner-drawn menus
** Setting labels in segments
** Editing segments


oFrame Windows
* Introduction to Transforms
** World coordinates
** Matrix arithmetic
** Scaling, translating, rotating, and shearing


-Custom frame controls
* Applying Transforms
** Transform API


oAdvanced Dialog Controls
* Vector Fonts
** Bitmap versus vector fonts
** Creating a vector font
** Transforming vector fonts
** Vector font special effects


-Presentation parameters
* Correlation
-User-paint and owner-drawn buttons and list boxes
** Setting correlation tags
** Correlation API


oCustom Control Windows
* Areas
** Drawing and filling areas
** Fill modes


-Managing memory
* Paths
-Responding to dialog keystrokes
** Geometric lines
** Clip paths


oProfiles
* Arcs
** Arc attributes
** Full arcs
** Three-point and partial arcs
** Fillets and splines


-System and application profiles
* Bitmaps
-Profile API
** Bitmap formats
** Creating a bitmap
** Bitmap APE
** Shadow bitmaps


oPrinting
* Metafiles
** Creating a metafile DC
** Playing a metafile


-Printer DC types  
* Advanced Menus
-Creating a printer DC
** Menu types and structure
-Reading the system profile for printer information
** Methods to create menus
** System menus
** Owner-drawn menus


oClipboard
* Frame Windows
** Custom frame controls


-Clipboard protocol
* Advanced Dialog Controls
-Clipboard data formats
** Presentation parameters
-Clipboard API
** User-paint and owner-drawn buttons and list boxes


oDynamic Data Exchange
* Custom Control Windows
** Managing memory
** Responding to dialog keystrokes


-DDE protocol
* Profiles
-DDE API  
** System and application profiles
** Profile API  


Lab Exercises
* Printing
** Printer DC types
** Creating a printer DC
** Reading the system profile for printer information


oLab 1 - Introduction to Graphical Program Interface
* Clipboard
** Clipboard protocol
** Clipboard data formats
** Clipboard API


-Introduction to draw lab project
* Dynamic Data Exchange
-Device independence and window-specific data
** DDE protocol
-Drawing rubber band lines
** DDE API
-Drawing rubber band boxes
-Fill patterns (optional)
-Changing the mouse pointer (optional)
-Line styles (optional)
-Ignoring the first button one down (optional)


oLab 2 - Retained Graphics and Vector Fonts
==Lab Exercises==


-Retained graphics
* Lab 1 - Introduction to Graphical Program Interface
-The zooming transform
** Introduction to draw lab project
-Graphical text (vector fonts)  
** Device independence and window-specific data
-Correlation (optional)  
** Drawing rubber band lines
** Drawing rubber band boxes
** Fill patterns (optional)
** Changing the mouse pointer (optional)
** Line styles (optional)  
** Ignoring the first button one down (optional)  


oLab 3 - Arcs, Metafiles, and Custom Menus
* Lab 2 - Retained Graphics and Vector Fonts
** Retained graphics
** The zooming transform
** Graphical text (vector fonts)
** Correlation (optional)


-Arcs  
* Lab 3 - Arcs, Metafiles, and Custom Menus
-Metafiles  
** Arcs  
-Erasing the current picture (optional)  
** Metafiles  
-Areas (optional)  
** Erasing the current picture (optional)  
-Geometric lines (optional)  
** Areas (optional)  
-Bitmaps as primitives (optional)  
** Geometric lines (optional)  
** Bitmaps as primitives (optional)  


oCustom Frame Controls, Custom Dialog Controls, and Profiles  
* Custom Frame Controls, Custom Dialog Controls, and Profiles  
** Owner-drawn menus
** Custom frame controls
** Customizing dialog controls
** Saving settings in a profile
** Printing (optional)
** Enhancing the owner-drawn check box


-Owner-drawn menus
==Prerequisites==
-Custom frame controls
Before taking this course, you should first attend Presentation Manager 2.X for Software Developers (N1688) or have at least one year's experience with Presentation Manager programs.
-Customizing dialog controls
-Saving settings in a profile
-Printing (optional)  
-Enhancing the owner-drawn check box


Prerequisites: Before taking this course, you should first attend Presentation Manager 2.X for Software Developers (N1688) or have at least one year's experience with Presentation Manager programs.
==Download==
N/A


Prices:  
[[Category:Courseware]]
Tuition                        1,575
Private Class Price:
1-14 Students:                20,000
Each additional student:        500

Revision as of 14:27, 1 June 2016

Course N1744: Presentation Manager: Windowing & Graphics

Synopsis

This course focuses on advanced windowing topics such as custom dialog controls and Graphical Program Interface (GPI) graphics. You'll examine numerous sample programs and write intensive hands-on lab exercises to reinforce lecture topics. The course is a continuation of Presentation Manager 2.X for Software Developers (N1688). It is intended for OS/2 versions 1.X and 2.X developers.

Who Should Take This Course

OS/2 Presentation Manager programmers who want to raise their skill levels.

How you will benefit

Learn how to:

  • Understand all GPI drawing primitives including lines, arcs, and bitmaps
  • Use GPI programming techniques including transforms, metafiles, and retained graphics
  • Use windowing techniques including subclassing, owner-draw, and user-paint dialog controls and menus
  • Write custom dialog control windows
  • Write programs that use Dynamic Data Exchange (DDE) and the clipboard to communicate with other programs
  • Write programs that perform device-independent output (WYSIWYG: What You See Is What You Get)

Topics

  • Introduction to Graphical Program Interface
    • Modal drawing interface
    • Categories of graphical program interface calls
  • Device Contexts and Presentation Spaces
    • Types of device contexts
    • Types of presentation spaces
    • Sample usage
  • Introduction to Device Independence
    • Presentation page units
    • Introduction to coordinate systems
  • Lines and Boxes
    • Line and box primitives
    • Line and box attributes
  • Color and Mix
    • Logical and physical colors
    • Color tables
    • Mix modes
  • Mouse Messages
    • Capturing the mouse
  • Window Words
    • Window-specific data
    • System usage of window data
  • Segments and Retained Graphics
    • Drawing modes
    • Segment attributes
    • Setting labels in segments
    • Editing segments
  • Introduction to Transforms
    • World coordinates
    • Matrix arithmetic
    • Scaling, translating, rotating, and shearing
  • Applying Transforms
    • Transform API
  • Vector Fonts
    • Bitmap versus vector fonts
    • Creating a vector font
    • Transforming vector fonts
    • Vector font special effects
  • Correlation
    • Setting correlation tags
    • Correlation API
  • Areas
    • Drawing and filling areas
    • Fill modes
  • Paths
    • Geometric lines
    • Clip paths
  • Arcs
    • Arc attributes
    • Full arcs
    • Three-point and partial arcs
    • Fillets and splines
  • Bitmaps
    • Bitmap formats
    • Creating a bitmap
    • Bitmap APE
    • Shadow bitmaps
  • Metafiles
    • Creating a metafile DC
    • Playing a metafile
  • Advanced Menus
    • Menu types and structure
    • Methods to create menus
    • System menus
    • Owner-drawn menus
  • Frame Windows
    • Custom frame controls
  • Advanced Dialog Controls
    • Presentation parameters
    • User-paint and owner-drawn buttons and list boxes
  • Custom Control Windows
    • Managing memory
    • Responding to dialog keystrokes
  • Profiles
    • System and application profiles
    • Profile API
  • Printing
    • Printer DC types
    • Creating a printer DC
    • Reading the system profile for printer information
  • Clipboard
    • Clipboard protocol
    • Clipboard data formats
    • Clipboard API
  • Dynamic Data Exchange
    • DDE protocol
    • DDE API

Lab Exercises

  • Lab 1 - Introduction to Graphical Program Interface
    • Introduction to draw lab project
    • Device independence and window-specific data
    • Drawing rubber band lines
    • Drawing rubber band boxes
    • Fill patterns (optional)
    • Changing the mouse pointer (optional)
    • Line styles (optional)
    • Ignoring the first button one down (optional)
  • Lab 2 - Retained Graphics and Vector Fonts
    • Retained graphics
    • The zooming transform
    • Graphical text (vector fonts)
    • Correlation (optional)
  • Lab 3 - Arcs, Metafiles, and Custom Menus
    • Arcs
    • Metafiles
    • Erasing the current picture (optional)
    • Areas (optional)
    • Geometric lines (optional)
    • Bitmaps as primitives (optional)
  • Custom Frame Controls, Custom Dialog Controls, and Profiles
    • Owner-drawn menus
    • Custom frame controls
    • Customizing dialog controls
    • Saving settings in a profile
    • Printing (optional)
    • Enhancing the owner-drawn check box

Prerequisites

Before taking this course, you should first attend Presentation Manager 2.X for Software Developers (N1688) or have at least one year's experience with Presentation Manager programs.

Download

N/A