In this section:
i=winio@('This is a bitmap: %bm[tea_bitmap]')
and the resource script would include a line of the form:
tea_bitmap BITMAP "BT1.BMP"
The grave accent is used to specify that the bitmap is supplied via a handle rather than a name. A suitable handle is returned by make_bitmap@ or by the Windows API function LoadBitmap. If you want to use LoadBitmap to access one of the pre-defined bitmaps then you will need to create your own binding to LoadBitmap. For example:
STDCALL MyLoadBitmap 'LoadBitmapA' (VAL,VAL):INTEGER(7)
A call-back function can be added to a bitmap by using the caret (^) format modifier.
The %gi (GIF) format is also available and works in the same way as %bm except that it uses a GIF resource created from an image file stored in GIF format. GIF files are compressed and may be animated and/or partially transparent. They therefore make ideal eye-catching features.