mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-05-10 00:29:22 +08:00
11 lines
270 B
C
11 lines
270 B
C
/*
|
|
* The following MSG_SETCURSOR handler set the cursor
|
|
* shape to the arrow cursor when the window is disabled.
|
|
*/
|
|
case MSG_SETCURSOR:
|
|
if (GetWindowStyle (hwnd) & WS_DISABLED) {
|
|
SetCursor (GetSystemCursor (IDC_ARROW));
|
|
return 0;
|
|
}
|
|
break;
|