Jump to content
  • Advertisement

Archived

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

ERDesertFox

Converting an Icon to a Bitmap

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

The title pretty much says it all =). I''m wondering if there''s an easy way to convert an icon to a bitmap (HICON to HBITMAP) using Win32 API, or if I have to do it manually somehow. Or, if there is a way to use an icon in a menuitem instead of a bitmap, either would work. I''ve looked through MSDN and can''t seem to find anything on it. Thanks for any help. Desert Fox

Share this post


Link to post
Share on other sites
Advertisement
The only difference between an icon and a bitmap is the filename extention.

An icon is just a 16 color 16x16 or 32x32 bitmap.

Ben

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!