SetCursor plugin
You'll find that the custom cursors sections crash however. I can't find out why its crashing. LoadImage loads the file fine (apparently), but SetCursor crashes. If anybody can fix this please let me know 🙂
-Stu
10 posts
😉char szParam[MAX_PATH];
And IDC_* nsh header with LoadCursor(NULL, MAKEINTRESOURCE(my_atoi(szParam))); may be simpler then strings. Worked fine in my test including ani cursor.GetCursorPos(&cur);
SetCursorPos(cur.x, cur.y);