Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

cursor

Arguments: window-or-dialog-item

Returns the current mouse cursor of window-or-dialog-item, which determines the appearance of the mouse cursor whenever it is inside that window or control. (setf cursor) will set the current mouse cursor.

The value may be either an instance of the cursor class or an integer that is the value of one of the built-in mouse cursor variables such as cross-cursor. The value may also be nil, which for a window means to remove the mouse cursor completely when it is inside the window, and for a dialog-item means to use the default cursor for that control, which is usually the arrow cursor. The default cursor of a window is always the arrow cursor, which is the value of the variable arrow-cursor.

The custom cursor of a window is used only in the interior of the window, and it is not possible to set the cursor for the frame area of a window. Similarly, certain areas of some controls, such as the column headers of a list-view control or the body of a tab-control, are not customizable and will not show the custom cursor that is assigned to the control.

See the section on Mouse Cursors in cg-pixmaps.htm for more infomation.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1