Recent want to add the cursor changes to enhance project interactive feedback,
Intended to use Cursor. SetCursor (sp, hotspot, CursorMode. Auto); To do
But occasionally find on a computer with the mouse on the software of change is follow Windows
1. Is there a windowsAPI provides the cursor change solution?
CodePudding user response:
Case WM_SETCURSOR:
//If the window is minimized, the draw the hCurs3 cursor.
//If the window is not minimized, the draw the default
//the cursor (class cursor).
If (IsIconic (HWND))
{
SetCursor (hCurs3);
break;
}