SET_BCX_BITMAP2 statement

Purpose: SET_BCX_BITMAP2 complements the BCX_BITMAP function by allowing the bitmap image of a BCX_BITMAP control to be changed after the control has been created.


Syntax:

 SET_BCX_BITMAP2(hBitmapDest, hBitmap [, Delete AS INTEGER])

Parameters:

  • hBitmapDest is a HWND handle to the control, created by BCX_BITMAP, onto which the bitmap is to be placed.
  • hBitmap specifies a HBITMAP handle of the bitmap which is to be placed on the control.
  • Delete% [OPTIONAL] parameter containing as default integer value of 1 (TRUE). If Delete% is set to 0 (FALSE) then the return value from the function will be the previous bitmap handle.