- Syntax:
- Window.AddControl(id, 16, X, Y, WIDTH, HEIGHT,"path_to_bmp_file");
- Sample:
- Window.AddControl(0,16,54,112,40,40,"1.bmp");
- Description:
-
path_to_bmp_file is the name of the file that contains the image.
This is a relative path (current directory) or absolute path.
X, Y :- The horizontal base unit is equal to the average width, in pixels,
of the characters in the system font; the vertical base unit is equal
to the height, in pixels, of the font. Furthermore, each horizontal
base unit is equal to 4 horizontal dialog units; each vertical base unit
is equal to 8 vertical dialog units.
|
|