🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
How to choose the mouse pointer?
How do you tell OpenGL to use a mouse pointer in fullscreen mode that you create, instead of the default windows one?
Thanks!
HCURSOR hc;
hc = LoadCursorFromFile("cursor.cur");
SetCursor(hc);
u can use hc = GetCursor() to get the current cursor
I hope u understood!
hc = LoadCursorFromFile("cursor.cur");
SetCursor(hc);
u can use hc = GetCursor() to get the current cursor
I hope u understood!
Just a question byside:
What is a .cur file? just a renamed .bmp file ?
thx,
cya,
Phil
What is a .cur file? just a renamed .bmp file ?
thx,
cya,
Phil
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
make sure you change the code in NeHe''s code to not load the default mouse pointer.. you should see it in one of the main functions
-TipTup
TipTup.Com
-TipTup
TipTup.Com
You can make a .cur file in the resource editor from VC++.
ie. menu Insert -> Resource -> Cursor
ie. menu Insert -> Resource -> Cursor
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement