Dreikblack Posted December 23, 2023 Share 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 Link to comment Share on other sites More sharing options...
Solution Josh Posted December 23, 2023 Solution Share 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. Link to comment Share on other sites More sharing options...
Dreikblack Posted December 24, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
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.