Static bitmaps

Top  Previous  Next

Bitmaps can be inserted from several springs.

The resource MoskitoICON.DLL contains more than 300 Icons with 32,*32-pixel size.

Every DLL with bitmap resources can be used.

external BMP files can be indicated.

Technically a bitmap field is accommodated in the dialogue. This has the form:

CONTROL "xxxx", 112, "STATIC", SS_BITMAP | SS_REALSIZEIMAGE | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 285, 1, 143, 235

The Flags SS_* are Stanard settings of Windows.

Under xxxx the contents and with it the announcement are put down. In the following examples still dynamic changing of these bitmaps is carried out, in addition:

 

Bitmap from MoskitoICON.DLL

 

CONTROL "10000", 112, "STATIC", SS_BITMAP | SS_ REALSIZECONTROL | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 285, 1, 143, 235

 

io_setDialogField 302 112 "10000"

 

If field 112 in dialogue 302 puts resource number 10000 in DLL MoskitoICON.DLL on bitmap. The list of the Icons is in the table reference, as well as interactively with @menu_tls accessible.

 

Bitmap from other DLL

 

CONTROL "100 0 Orchids.DLL", 112, "STATIC", SS_BITMAP | SS_ REALSIZECONTROL | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 285, 1, 143, 235

 

io_setDialogField 302 112 "100 0 Orchids.DLL"

 

If field 112 in dialogue 302 puts resource number 100 in DLL Orchids.dll (on bitmap These DLL is to be looked only as an example). The DLL should be filed in the list Moskito\Rahmen\Bitmap. Alternatively the bitmap lists of the professional bowls can become uses (or invested). The bitmaps let themselves with every resource editor in stacks DLL. Several bitmaps can be accommodated in a DLL.

 

Bitmap from Windows BMP file

 

CONTROL "100000 0 Seifenblase.bmp", 112, "STATIC", SS_BITMAP | SS_ REALSIZECONTROL | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 285, 1, 143, 235

 

io_setDialogField 302 112 "100000 0 Seifenblase.bmp"

 

If field 112 places in dialogue 302 on the bitmap in Seifenblase.bmp. The number must be more than 65535, in addition, however, is irrelevant. Also these BMP files must be filed in the list Moskito\Rahmen\Bitmap. Alternatively the bitmap lists of the professional bowls can become uses (or invested). Files in the JPEG or TIFF format must be converted at the moment to BMP.

See also

Menu and Dialogsprache.