Jump to content
  • Advertisement


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


Help with Cursors.

This topic is 6196 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!