Working with IBitmapControl Parts

The following tasks are associated with using an IBitmapControl* part in visual composition. Tasks that are common to many parts are described in related topics.

Assigning a bitmap
To assign a bitmap to the control, set the resourceId property in the IBitmapControl* property sheet. In the Resource Id prompter property window, specify a bitmap resource by setting the following fields:

Hiding a bitmap
To hide the bitmap when an event occurs, connect the event to the IBitmapControl* disable action.

Showing a bitmap
To show the bitmap when an event occurs, do the following:
  1. Connect the event to the IBitmapControl* show action.
  2. Open settings for the connection, select Set parameters, and set the visible parameter value to true.


Related procedures
Common Tasks for Control Parts
Setting Part Style Properties
Setting Part Color Properties
Setting Part Font Properties
Setting Part Handlers Properties
Setting Part Framing Properties
Working with VisualAge User Interface Parts

Related references
IBitmapControl
Property Settings -- IBitmapControl
Portability -- IBitmapControl