c++ - Hide global cursor -


i'm trying add multi-touch gestures google earth plugin, wrote little c++ background program using win32 api catch tactile driver input , make gestures emulated mouse moves.

but mouse cursor moving on screen, want hide (i've block input using blockinput function) while user touching screen.

is there right way ? i've saw windows 8 cursor_suppressed response getcursorinfo, no way trigger that...

edit : found dirty way, using setsystemcursor hide each cursors need :

setsystemcursor(hcursor, ocr_sizens); 

and systemparametersinfo reset cursors :

systemparametersinfo(spi_setcursors, 0, null, 0); 

i hope there better way do...

thanks !

try showcursor:

showcursor(false); 

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -