Brew MP 1.0.2
This function stores a pointer to a bitmap in the model used by a bitmap
widget. Neither the widget nor the model make a copy of the data -- i.e.,
the data continues to be owned and should be managed by the object that
int IWidget_SetBitmap(IWidget *pif, IBitmap *pib);
AEE_SUCCESS - The widget was able to successfully store the pointer to the bitmap
to be displayed
AEE_EFAILED - The attempt to set the bitmap has failed.
Setting the bitmap of a bitmap widget by calling IWidget_SetBitmap() will
cause BREW to send an EVT_MDL_VALUE ModelEvent
to any object registered as a
listener with the IInterfaceModel
. Generally, this means that the bitmap
widget will receive notification that its contents have changes and will
redraw itself using the newly stored bitmap.