initical commit

This commit is contained in:
Vincent Wei
2017-05-29 12:20:05 +08:00
commit e87d052072
1648 changed files with 1010800 additions and 0 deletions

10
examples/setcursor.c Normal file
View 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;