This example obtains the pointer handle from the desktop window handle and hides the pointer.

#define INCL_WINPOINTERS
#define INCL_WINDESKTOP
#include <OS2.H>
HPOINTER hpointer;
HWND hwnd;

hpointer = WinQueryPointer(HWND_DESKTOP);

WinShowPointer(hwnd,FALSE);


[Back] [Next]