ok im setting a cursor in a loop it works but when i move the cursor it just changes back to the way it was. im using win32 api and i used
SetCursor(LoadCursor(hInstance, MAKEINTRESOURCE(IDC_PROTECTED)));
any idea
ok im setting a cursor in a loop it works but when i move
Share
IIRC, you want to call
SetCursorin response toWM_SETCURSOR. If memory serves, the cursor will also stay what you’ve set if the cursor member of the window class is set to NULL.