Archived

This topic is now archived and is closed to further replies.

Help with Cursors.

This topic is 5985 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m making a game in OpenGL it''s all 3d, but this is not an opengl question i don''t think. I created a .cur file to load into my program, the program compiles, links, etc. fine, it loads the cursor, but i can only see it when it''s moving, but when it sits in a place it disappears, this is the code i''m using this is in the .cpp file: windowClass.hCursor = LoadCursor(hInstance, MAKEINTRESOURCE(IDC_MAIN)); .rc file IDC_MAIN CURSOR "OpenGL Template.cur" resource.h file: #define IDC_MAIN 200 if anyone can help make my cursor not disappear it woule be greatly appreciated.

Share this post


Link to post
Share on other sites