Arguments: window buttons cursor-position frame-section
This function is called when a mouse-middle-down event happens in the frame (non-client area) window. buttons is an integer representing the state of mouse button(s) and keypad (see below). Bits in the buttons represent the state of modifier keys: 1 indicating that the key is down and 0 that it is up.
cursor-position is the mouse cursor position in the user coordinates of window that is, a position object indicating the distance of the mouse cursor at the time of the event from the top left corner of the (possibly scrolled) page of the window to which this message was sent.
The frame-section argument indicates where in the frame the event occurred. The value of frame-selection will be one of the following symbols:
:left :top-left :top :top-right :right :bottom-right :bottom
:bottom-left :caption :client :error :nowhere :grow-box
:menu :system-menu :minimize :maximize :transparent
:top-left, for example, denotes the area at the upper left where the window's left and top edges can be stretched. :maximize refers to the gadget that maximizes the window.
The following table shows the correspondence of buttons and keys to constants defined in Allegro CL for Windows.
Button/Key Associated Constant
See About events in the IDE in cgide.htm.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.