Programmer's Guide to Creating User Interfaces
Table of Contents
Index
Chapter 14: Presentation Manager Applications (16-bit)
14.1 Writing Presentation Manager Applications
14.1.1 Requirements
14.1.2 Programming for Presentation Manager
14.1.3 Using the Systems Programming Extensions
14.1.3.1 Calling Conventions
14.1.3.2 Passing Parameters by Value
14.1.3.3 Return Values
14.1.3.3.1 Receiving Values Returned from API Routines
14.1.3.3.2 Returning a Value from a Window Procedure
14.1.3.4 Procedure Pointers
14.1.3.5 Recursion and the Local-Storage Section
14.1.3.5.1 Local Data for Recursion
14.2 Structuring a Presentation Manager Program
14.2.1 Initializing the Presentation Manager
14.2.2 Creating a Message Queue
14.2.3 Registering a Window Class
14.2.4 Creating a Window
14.2.5 Processing the Message Loop
14.2.6 Process Client Window Procedure
14.2.7 Terminating Presentation Manager
14.3 Translating C Definitions
14.3.1 H2cpy - C Header File Conversion
14.3.2 Translating C Function Declarations
14.3.3 Message Parameters and Macros
14.4 Compiling, Linking and Debugging
14.4.1 Compiling
14.4.2 Linking
14.4.3 Debugging
14.4.3.1 Debugging with Xilerator
14.4.4 Debugging with Animator
14.4.4.1 Debugging with Animator V2
14.4.5 Resource Compiler and Editor
14.5 Sample Programs