mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-05 17:59:58 +08:00
initical commit
This commit is contained in:
10
examples/setcursor.c
Normal file
10
examples/setcursor.c
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* 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;
|
||||
Reference in New Issue
Block a user