Silverfrost Logo About Us | Contact Us
 

%bm - Bitmap

Purpose

To draw a bitmap.

Syntax

winio@('%bm[bitmap_name]')
winio@('%`bm', handle)
integer(7) handle     (input)

Modifiers

Grave accent (`) - use a Windows API bitmap handle.

Caret (^) - the call-back is called when the user clicks on the bitmap.

Question mark (?) - a help string is supplied.

Description

bitmap_name is standard character string (can be replaced by the @ symbol) giving the name appearing in a resource script.

handle is a value returned by a modified form of the API function LoadBitmap.

bitmap_namecan also take the form of an integer handle surrounded by curly brackets or the name of an external file surrounded by curly brackets.

Example

winio@('%bm[mybitmap]')
mybitmap BITMAP file.bmp      (resource file)

See also

%ic - Icon,%gi - GIF,%im - Image

 

 

 

Copyright © 1999-2017 Silverfrost Limited