c++ - Hide Cursor in Client Rectangle but not on Title Bar -


i trying hide cursor in client area of window (directx application) default behavior in title bar. i've tried several things didn't find way this. have idea how achieve this?

add wndproc:

case wm_setcursor: {     word ht = loword(lparam);     static bool hiddencursor = false;     if (htclient==ht && !hiddencursor)     {         hiddencursor = true;         showcursor(false);     }     else if (htclient!=ht && hiddencursor)      {         hiddencursor = false;         showcursor(true);     } } break; 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -