OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Selecting a New Image

You can change the image being displayed in a bitmap gadget with the TBitmapGadget::SelectImage function:

int SelectImage(int imageNum, bool immediate);

The imageNum parameter is the array index of the image you want displayed in the gadget. Specifying true for immediate causes the gadget to update the display immediately. Otherwise, the area is invalidated and updated when the next WM_PAINT message is received.

See Also