Jump to content

PMGuide - Mouse and Keyboard Input: Difference between revisions

From EDM2
Created page with "An OS/2 Presentation Manager application can accept input from both a mouse (or other pointing device) and the keyboard. This chapter explains how these input events should be received and processed. ==About Mouse and Keyboard Input== System Message Queue Window Activation Keyboard Focus Keyboard Messages Message Flags Key-Down or Key-Up Events Repeat-Count Events Character Codes..."
 
Line 18: Line 18:
             Mouse Movement  
             Mouse Movement  
==Using the Mouse and Keyboard==
==Using the Mouse and Keyboard==
        Determining the Active Status of a Frame Window
===Determining the Active Status of a Frame Window===
        Checking for a Key-Up or Key-Down Event
===Checking for a Key-Up or Key-Down Event===
        Responding to a Character Message
===Responding to a Character Message===
        Handling Virtual-Key Codes
===Handling Virtual-Key Codes===
        Handling a Scan Code  
===Handling a Scan Code ===




[[Category:WorkToDo]]
[[Category:WorkToDo]]

Revision as of 03:51, 29 April 2025

An OS/2 Presentation Manager application can accept input from both a mouse (or other pointing device) and the keyboard. This chapter explains how these input events should be received and processed.

About Mouse and Keyboard Input

       System Message Queue
       Window Activation
       Keyboard Focus
       Keyboard Messages
           Message Flags
           Key-Down or Key-Up Events
           Repeat-Count Events
           Character Codes
           Virtual-Key Codes
           Scan Codes
           Accelerator-Table Entries 
       Mouse Messages
       Capturing Mouse Input
           Button Clicks
           Mouse Movement 

Using the Mouse and Keyboard

Determining the Active Status of a Frame Window

Checking for a Key-Up or Key-Down Event

Responding to a Character Message

Handling Virtual-Key Codes

Handling a Scan Code