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.
WinDrawPointer (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINPOINTERS
BOOL WinDrawPointer(hps, x, y, hptr, fs)
HPS hps; /* handle of the presentation space */
SHORT x; /* horizontal position */
SHORT y; /* vertical position */
HPOINTER hptr; /* handle to the mouse pointer */
USHORT fs; /* pointer-drawing flags */
The WinDrawPointer function draws a pointer.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hps Identifies the presentation space in which the pointer is drawn.
x Specifies the x-coordinate at which to draw the pointer, in
device coordinates.
y Specifies the y-coordinate at which to draw the pointer, in
device coordinates.
hptr Identifies the pointer.
fs Specifies the flags that determine how the pointer is drawn. It
can be one of the following values:
Value Meaning
─────────────────────────────────────────────────────────────────
DP_HALFTONED Draw the pointer with a halftone pattern where
black normally appears.
DP_INVERTED Draw the pointer inverted──black for white and
white for black.
DP_NORMAL Draw the pointer as it normally appears.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs.
See Also
WinCreatePointer, WinLoadPointer
♦