DSM Windowing Application Programming Interface Guide for DSM

*HyperReader

CONTENTS

  Title Page

  Copyright Page

  Preface

  1      Introduction to the Windowing API
    Overview of the DSM Windowing API
    Helpful Features

  2      Concepts
    Entities
    Windows, Elements, and Choices
    Displays
    Events
    Attributes
    Drawing
    Parents and Children

  3      Using the Windowing API and Developing Applications
    How a Windowing Application Works
      What Happens
      Defining and Building Displays
      Defining and Using Windows and Elements
        Window Repainting
        Creating and Using MTerm Windows
        Manipulating Text Data for a Document Gadget
      Defining and Processing Events
      Terminating the Display
    Considerations for Developing Applications
      Using Callbacks That Are Brief
      Server Grab When Debugging

  4      Structured System Variables
    Introduction to DSM WAPI Structured System Variables
    Variable Descriptions

  ^$DISPLAY

  ^$EVENT

  ^$WINDOW

  ^$WINDOW - Gadget

  ^$WINDOW - Gadget Draw Commands

  ^$WINDOW - Menu

  ^$WINDOW - Timer

  5      Commands
    Introduction to DSM WAPI Commands
    Command Descriptions

  ESTART

  ESTOP

  ETRIGGER

  6      Special Variables
    Introduction to DSM WAPI Special Variables
    Special Variable Descriptions

  $EREF

  $PDISPLAY

  A DSM WAPI Attribute Tables
    Attribute Value Domains
    Handles for Accessing the Underlying Windowing Platform
      Using ID Attribute Handles with ^$WINDOW
      Examples of Using ID Attribute Handles
        Flushing the Output Buffer
        Formatting Text Data for a Document Gadget