Intel® Fortran Compiler with Windows-Based Applications
Use Pictures
The Picture control is an area of your dialog box where your application displays a picture.
You cannot change it, since it is an output-only window. It does not respond to user input and therefore does not support any callbacks.
The picture displayed can be set using the Properties dialog box in the Resource Editor. The options that can be fully defined using the Resource Editor include a:
Icon
Bitmap
Frame
Rectangle
When using the Resource Editor, you need to click on the border of the picture to select it, then select View > Properties to display the properties window. The Properties Window allows you to select the type of picture as well as specify the image for certain picture types.
For example, to add an existing Bitmap (BMP) file to a dialog:
Open your project, double-click on the .RC file, and select Edit > Add Resource .
Select the Resource type (such as Icon or BMP) and then select whether it is a new resource, an Import (existing) resource, or Custom resource. In our example, we will specify an existing BMP file we have previously copied into our project directory, so will click Import.
After we specify the resource, its name appears in the Resource Editor under the appropriate resource type (such as BMP).
Add a picture to the dialog box, by dragging the picture icon from the Control toolbar to the appropriate place in the dialog box. You can resize the picture as needed. The default picture type is frame.
Carefully click on the border of the picture area to display, then select View > Properties .
In the Properties Window, select the type of picture. If you select a type of BMP or Icon, for example, you can select the image from the list of available project resources using the Image property.
Move the picture as needed.