Help with Cursors.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement