Previous Up Next

_CBcompBitmapResize
Sets a callback corresponding to the component resize event.

CompBitmap _CBcompBitmapResize (
CompBitmap _bitmap_
fun [CompBitmap u0 I I] u1 _callback_
u0 _user_
)
Parameters

_bitmap_
any CompBitmap
_callback_
callback function on component resize (supplemental parameters are w and h)
w and h define the new component size
_user_
user parameter
Return value

same CompBitmap