FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

get-fixed-box

Arguments: window-or-screen box &optional scroll-p cursor

Waits for the user to press or unpress a mouse-button, and then returns the coordinates of a box that has been drawn continuously to follow mouse movement during the wait, beginning at box, which must be a box object (see make-box). The width and height of the box remains the same.

window-or-screen should be a window or the screen. The screen is the value returned by (screen *system*). See screen and *system*.

If scroll-p is true, the window (identified by window-or-screen) will be scrolled if the cursor moves outside it. Sets the stream cursor to cursor while running. If the cursor argument is unspecified or t, a stream default is used (typically the cross-hair cursor).

You may wish to call wait-for-mouse-buttons-up prior to calling get-fixed-box to ensure that mouse button releases associated with other actions do not interfere with getting the desired box.

See also nget-fixed-box and get-box.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version