fg_mouseptr()Win32 DirectX Fastgraph/Light Prototype HCURSOR fg_mouseptr (void *masks, int xoffset, int yoffset); Function fg_mouseptr (masks() As Any, ByVal xoffset As Long, ByVal yoffset As Long) As Long function fg_mouseptr (var masks; xoffset, yoffset : integer) : HCURSOR; Description The fg_mouseptr() function creates a user-defined mouse cursor. Parameters masks is a array containing the 16-element or 32-element screen mask followed by the 16-element or 32-element cursor mask. The mouse driver displays the mouse cursor by logically ANDing the screen contents with the screen mask, and then XORing that result with the cursor mask. The first item of each mask corresponds to the top row of the mouse cursor. The following table summarizes the cursor appearance for all possible combinations of mask bits.
xoffset is the x coordinate of the "hot spot" relative to the upper left corner of the mouse cursor. yoffset is the y coordinate of the "hot spot" relative to the upper left corner of the mouse cursor. Return value A Windows handle to the user-defined mouse cursor. Restrictions none See also fg_mousecur(), fg_mouseini(), fg_mousesiz(), fg_mousevis() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.