Dreikblack Posted December 23, 2023 Posted December 23, 2023 My cursor is just invisible after changing. Tested it on rotate.cur from engine folder as well. #ifdef _WIN32 WString path = AppDir() + "/UI/Icons/Cursor.cur"; auto cursor = LoadCursorFromFileW(path.c_str()); ActiveWindow()->SetCursor(cursor); #endif Quote
Solution Josh Posted December 23, 2023 Solution Posted December 23, 2023 Are you sure cursor isn't NULL? AppDir() will return your project's folder, not the editor folder. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted December 24, 2023 Author Posted December 24, 2023 Actually i just missed a folder in a path. I thought it would crash if cursor would be null so i did not even tried to debug it Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.