loading image

hai i am new to vc++
i trying to load an image on picture control. but i dont know. pls send ideas or coding or like if anyone knows
thank you


  • make sure your project has resources. Then, create a bitmap, and import to the project resources. That is, in the resource menu (left-click in the resource view) and click import. The bitmap goes into a new bitmap resource. Give it a name a voila! If the picture control is a dialog component you should be able to select the image resource in its properties. Otherwise it probably will take a CBitmap object or something.
    Use LoadImage to lead an HBITMAP of the resource and you're off.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion