msos2.hlp (Table of Contents; Topic list)
POINTERINFO (1.2)
Changes                                             Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINPOINTERS
 
typedef struct _POINTERINFO {    /* ptri */
    BOOL    fPointer;
    SHORT   xHotspot;
    SHORT   yHotspot;
    HBITMAP hbmPointer;
    HBITMAP hbmColor;
} POINTERINFO;
 
The POINTERINFO structure contains information about the mouse pointer.
 
Field       Description
────────────────────────────────────────────────────────────────────────────
 
fPointer    Specifies whether the pointer is an icon-sized or pointer-sized
            bitmap. If this value is TRUE, it is a pointer-sized bitmap. If
            FALSE, the pointer is an icon-sized bitmap.
 
xHotspot    Specifies the horizontal position of the hotspot.
 
yHotspot    Specifies the vertical position of the hotspot.
 
hbmPointer  Identifies the black and white bitmap used to draw the pointer.
 
hbmColor    Identifies the handle to the color version of the black and
            white bitmap whose handle is specified in the hbmPointer field.
            The hbmPointer field is required; the hbmColor field is
            optional. The color bitmap must have the same x and y pixel
            dimensions as its black and white counterpart.
 
Comments
 
The xHotspot and yHotspot values are in units relative to the size of the
system pointer or the system icon, depending on the fPointer field.
 
See Also
 
WinQueryPointerInfo