FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 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-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

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