Advertisement Jump to content
Sign in to follow this  

HBITMAP to Texture

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

I'm using DirectInput exclusive mode for my game, so I have to provide my own cursor. Right now I'm trying to convert the standard mouse into a IDirect3DTexture9. I can get an HBITMAP from GetIconInfo(IDC_ARROW, ...) but I don't know how to convert that into a texture I can use for rendering. Any Help Appreciated

Share this post

Link to post
Share on other sites
Hi, if you are using d3d graphics as well, (you didn't say), look up these methods in the sdk help docs.


If your not using d3d post let us know what graphics you are using.

If you need more nelp with the methods mentioned, post agian.

hope that helps.

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!