GR_BUTTON

Name

GR_BUTTON -- Mouse button codes

Synopsis

typedef unsigned int GR_BUTTON;
  

Description

A GR_BUTTON type is a bitwise OR combination of one or more of the following flags. The set flags indicate the mouse buttons that are pressed.

Table 3-1. Mouse Buton Enumerations

ValueDescription
GR_BUTTON_RIndicates the right mouse button.
GR_BUTTON_MIndicates the middle mouse button.
GR_BUTTON_LIndicates the left mouse button.
GR_BUTTON_ANYBitwise OR of all the valid mouse button flags.