If you need to display a picture for your application, Visual C++ provides a special control for that purpose.
Let us look into a simple example by creating a new MFC dialog based application.
Step 1 − Right-click on the dialog in the designer window and select Insert ActiveX Control.
Step 2 − Select the Microsoft Picture Click Control and click OK.
Step 3 − Resize the Picture control and in the Properties window, click the Picture field.
Step 4 − Browse the folder that contains Pictures. Select any picture.
Step 5 − Run this application and you will see the following output.