Selecting Images

The Edit Image Property or Edit Multi-Image Property dialog allows you to select any multi-image file (MBM or MIF) contained within the project and view the images it contains. It allows you to assign any image contained within the selected multi-image file to any graphic object in your application.

Selecting Image Properties

  1. Invoke the Edit Image Property dialog.
  2. NOTE This dialog will appear from multiple locations within Carbide.c++. It is displayed when you are attempting to set the image properties for icons or images used within your application.

    The Edit Image Property dialog will appear, as shown in Figure 1.

    edit image property

    Figure 1 - The Edit Image Property dialog

    The Multi-Image File context displays all multi-image files in your project by name.

    The Image context displays all image files within the selected multi-image file. The selected image is displayed, along with its dimensions and color bit depth. The Appearance region displays the image as it will appear when masked and scaled to the display settings for the screen object.

    The Mask context displays all image files which you may assign as a mask. The selected mask is displayed, along with its dimensions and bit depth.

  3. [Optional] Select the desired Multi-Image File from the context.
  4. NOTE This step is not needed if the current Multi-Image File contains the desired image.

    NOTE Bitmaps or Icons added to the project will be assigned to the selected Multi-Image File.

    The contents of the selected Multi-Image File will be used to populate the Image and Mask context menus.

  5. [Optional] Click the Edit MBM/MIF File... button if the desired image is not in any of the available multi-image files.
  6. NOTE This step is not necessary if the multi-image file contains the image you wish to assign.

    The Edit MBM/MIF Contents dialog will appear.

    Use the Edit MBM/MIF Contents dialog to add the image to the selected multi-image file. When you return from that dialog the images you added will be added to the Image and Mask dropdown lists.

  7. Select the desired image file from the Image dropdown list.
  8. The selected image is displayed, along with its dimensions and color bit depth. The Appearance region displays the image as it will appear when masked and scaled to the display settings for the screen object.

  9. Select the desired mask file from the Mask dropdown list.
  10. The selected mask is displayed, along with its dimensions and color bit depth. The Appearance region displays the image as it will appear when masked and scaled to the display settings for the screen object.

  11. Click OK.
  12. The dialog will be dismissed. The object will be assigned the selected image (and mask where appropriate).

Related concepts
Related references
Related tasks