Programmer's Guide to Creating User Interfaces
Table of Contents
Index
Chapter 15: Presentation Manager Applications (32-bit)
15.1 Writing Presentation Manager Applications
15.1.1 Requirements
15.1.2 Programming for Presentation Manager
15.1.3 Using the Systems Programming Extensions
15.1.3.1 Calling the OS/2 V2 API
15.1.3.2 Passing Parameters by Value
15.1.3.3 Return Values
15.1.3.3.1 Receiving Values Returned from API Routines
15.1.3.3.2 Returning a Value from a Window Procedure
15.1.3.4 Procedure Pointers
15.1.3.5 Recursion and the Local-Storage Section
15.1.3.5.1 Local Data for Recursion
15.2 Structuring a Presentation Manager Program
15.2.1 Initializing Presentation Manager
15.2.2 Creating a Message Queue
15.2.3 Registering a Window Class
15.2.4 Creating a Window
15.2.5 Processing the Message Loop
15.2.6 Processing Client Window Procedure
15.2.7 Terminating Presentation Manager
15.3 Translating C Definitions
15.3.1 H2Cpy - C Header File Conversion
15.3.2 Translating C Function Declarations
15.3.3 Message Parameters and Macros
15.4 Compiling, Linking and Debugging
15.4.1 Compiling
15.4.2 Linking
15.4.3 Debugging
15.4.4 Resource Compiler and Editor
15.5 32-bit Library Routines
15.6 Sample Programs