views:

137

answers:

3

How to hide the mouse pointer on the window screen of GDI, kindly give me some hints.

A: 

ShowCursor(FALSE)

Andreas Brinck
+2  A: 

You can use GetCursorPos to determine the location of the cursor and then if the cursor is above your GDI area you can call ShowCursor(FALSE).

As soon as the cursor leaves your GDI area call ShowCursor(TRUE).

Foxfire