Jump to content
  • Advertisement
Sign in to follow this  
Lennings

OpenGL change opengl window icon??

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

HI. I wonder if how I can change the icon in the upper left corner? I succeed to change the exe icon but I don’t think it is similarly way doing change the window icon. Thanks all.

Share this post


Link to post
Share on other sites
Advertisement
Are you using a window framework, or just the plain ole' Win32 API?

If you're just using the Win32 API, there's a tutorial on Icon Loading at Winprog.org, specifically http://winprog.org/tutorial/menus.html. Ignore the stuff on menu making.

Good Luck.

Share this post


Link to post
Share on other sites
Thanks.
Is it the same if I use glut? "what i use"

I dont know if I can get a conection to the window as it seams in the example thay
have.

Share this post


Link to post
Share on other sites
Check out the GLUT API reference, http://www.opengl.org/documentation/specs/glut/spec3/spec3.html, specifically glutSetIconTitle() in section 4.12.

I'm not an expert with GLUT, so do some searching and see if you can find a code example somewhere, I'll post one here if I can find one.

Share this post


Link to post
Share on other sites
Thanks for the help. Have not found any solution for my problem, but I find some other interesting stuff. I will still try to find a way, and if I do I write it here for others ho his looking for the same thing.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!