msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CURSORINFO (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCURSORS
 
typedef struct _CURSORINFO {    /* csri */
    HWND   hwnd;
    SHORT  x;
    SHORT  y;
    SHORT  cx;
    SHORT  cy;
    USHORT fs;
    RECTL  rclClip;
} CURSORINFO;
 
The CURSORINFO structure contains information about the cursor.
 
Field    Description
────────────────────────────────────────────────────────────────────────────
 
hwnd     Identifies the window in which the cursor is displayed.
 
x        Specifies the horizontal position of the cursor.
 
y        Specifies the vertical position of the cursor.
 
cx       Specifies the horizontal size of the cursor. If this field is zero,
         the system nominal border width (SV_CXBORDER) is used.
 
cy       Specifies the vertical size of cursor. If this field is zero, the
         system nominal border height (SV_CYBORDER) is used.
 
fs       Specifies the appearance of the cursor. This field can be one of
         the following values:
 
         Value            Meaning
         ───────────────────────────────────────────────────────────────────
         CURSOR_FLASH     The cursor is flashing.
 
         CURSOR_FRAME     The cursor is a frame.
 
         CURSOR_HALFTONE  The cursor is halftone.
 
         CURSOR_SOLID     The cursor is solid.
 
rclClip  Contains the RECTL structure that contains the rectangle within
         which the cursor is visible. If the cursor moves outside this
         rectangle, it is clipped away and becomes invisible. The rectangle
         is specified in window coordinates. If this field is NULL, the
         cursor is clipped to the window rectangle identified by the hwnd
         field.
 
Comments
 
The fields of the CURSORINFO structure are identical to the parameters of
the WinCreateCursor function.
 
See Also
 
WinCreateCursor, WinQueryCursorInfo, RECTL