CN16880C/N1688 - Presentation Manager 2.x for Software Developers

Learn how to write an application that uses OS/2 Presentation Manager (PM) facilities to handle screen interactions. This course is 50% lab and 50% lecture.

How you will benefit
Learn how to write an application that uses OS/2 PM facilities.

Topics

 * Introduction to Presentation Manager
 * What is presentation manager?
 * Goals of presentation manager


 * Window Overview
 * What is a window?
 * Parent and child windows
 * The standard window


 * Presentation Manager Overview
 * Application types
 * Introduction to messages


 * Introduction to Presentation Manager Programming
 * Presentation manager program boilerplate


 * Messages
 * Message data structure
 * Receiving messages
 * Transmitting messages


 * The Development Process
 * Include files
 * Building 16- and 32-bit programs


 * Painting and Clipping
 * Presentation manager device architecture
 * Points, rectangles, and regions
 * The WM_PAINT message


 * Handling User Input
 * Keyboard messages
 * Mouse messages


 * Scroll Bars
 * Scroll bars in the standard window
 * Programming vertical scroll bars in a text-based program


 * Menus
 * Resource file menus
 * Menu notification and control messages
 * Accelerators


 * Introduction to Dialog Boxes
 * Message boxes
 * Modal dialogs


 * Dialog Box Controls
 * Radio buttons
 * Entry fields
 * List boxes
 * Combo boxes
 * Spin buttons


 * Advanced Dialog Topics
 * Keystrokes in dialogs
 * Modeless dialogs


 * Fonts
 * Bitmap versus vector fonts
 * Selecting a bitmap font


 * Presentation Manager Multitasking
 * Using background threads
 * Types of background threads
 * Communicating between threads


 * Subclassing and Hooks
 * Subclassing windows
 * Hooking a queue


 * Help Systems
 * Writing help text
 * Writing help table resources
 * Modifying application source


 * 2.2.X Standard Dialogs
 * Standard font dialog
 * Standard file dialog


 * Window Words
 * System maintained area
 * Application maintained area


 * Introduction to Graphical Program Interface
 * Graphical program interface capabilities
 * Graphical program interface programming techniques


 * Presentation Spaces
 * Cached micro presentation spaces
 * Micro presentation spaces
 * Normal presentation spaces


 * Debugging Presentation Manager Programs
 * Codeview for OS/2 1.X
 * IBM presentation manager debugger for OS/2 2.X


 * Lab Code Listings
 * Editor Tutorial

Prerequisites
You should have C programming experience and be familiar with OS/2 programming. OS/2 programming experience can be gained from OS/2 2.X for Software Developers (N1740).