Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU GET_INFO(MOUSE_BUTTON) — VMS 5.2

 GET_INFO(MOUSE_BUTTON)


    For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.

    The following string can be used for parameter2 when parameter1 is a
    VAXTPU keyword for the down click of a mouse button (M1DOWN...M5DOWN):


      Parameter 2       | Return Value (Parameter 1 is M1DOWN...M5DOWN)
     -------------------+------------------------------------------------+
      "mouse_button"    | Integer   - The number of the specified mouse
                        |             button.  For example, if you specify
                        |             the keyword M2DOWN, the call returns
                        |             the integer 2.
    --------------------+--------------------------------------------------+

    When parameter1 is a keyword describing a mouse button event, you can
    use GET_INFO to determine the window where the current mouse operation
    started.  When you use GET_INFO to fetch this information, the valid
    keywords for parameter1 are as follows:

            M1UP     ...   M5UP
            M1DOWN   ...   M5DOWN
            M1DRAG   ...   M5DRAG
            M1CLICK  ...   M5CLICK
            M1CLICK2 ...   M5CLICK2
            M1CLICK3 ...   M5CLICK3
            M1CLICK4 ...   M5CLICK4
            M1CLICK5 ...   M5CLICK5

    The following string can be used for parameter2 when parameter1 is a
    VAXTPU keyword for a mouse button event:


      Parameter 2       | Return Value (Parameter 1 is mouse event keyword)
     -------------------+-------------------------------------------------+
      "window"          | Window    - The window in which the down-click
                        |   or        occurred that started the current
                        | Integer 0   drag operation.  If no drag operation
                        |             is in progress for the specified
                        |             mouse button, returns 0.
    --------------------+--------------------------------------------------+

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026