Jump to content
  • Advertisement

Archived

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

LoreKeeper

hBitmap to TBitmap

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

Hiya I know TBitmap is a wrapper to encapsulate an hBitmap. I want to know if there is an easy way to take an hBitmap that I get in my app and then get a TBitmap to encapsulate if for me? To clarify... I got an hBitmap and I''m looking for the ease of manipulation (specifically the ability to SaveToFile) of a TBitmap to go with it. Any takers? thanks! Henri

Share this post


Link to post
Share on other sites
Advertisement
I''d guess that you''d just create the TBitmap, assign the hBitmap to the TBitmap.Handle, and go on from there... but I''m watching TV so I''m not going to test that theory out just now.

Share this post


Link to post
Share on other sites
hehehe - I figured that out a little while ago as well... - though I haven''t tested that theory yet either. Will have to see after I bring a friend home... ciao - and thanks!

Share this post


Link to post
Share on other sites
Ah - double post? *OopS* - well, at least I can now also tell you that it actually works. Hooray!

[edited by - LoreKeeper on June 2, 2004 9:53:05 AM]

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!