Jump to content
  • Advertisement


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


Picture Control's dimensions in MFC

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

Hello, I am using a static Picture Control to display bitmaps by dynamically loading them. The problem is that when I use this control to open an image, it resizes according to the size of the bitmap. What I want to do is keep the size of the control fixed so that when the image opens, it is resized according to the size of the control specified during design in the dialog. Some source code for this will be highly appreciated. Regards, Sybtain

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.

GameDev.net 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!