| |
|
|
Michael Wodrich | Handle& = @LINK:[Create]("HPIC",L1,s2)
Parameter:
P:L1 | type (origin the Bildes) | P:s2 | Dateiname or. name the Bildes |
The function created a Bitmap in memory and gives its lever back. according to type can The Bitmap of/ one File, an external or internen Ressource created go:
type (L1) | weight | = (-1) | P:s2 = Dateiname of/ one Bitmap-File | = 0 | P:s2 = name of/ one Bitmapressource in the program | > 0 | P:s2 = name of/ one Bitmapressource in external File (z.B. DLL), P:L1 = lever the Ressource |
as well as with LINK:[LoadBmp] can with this function Bitmaps in the unkomprimierten (RGB) and compressed (RLE) status loaded go.
the Result this function is the Bitmap-lever. displayed go can the image with LINK:[DrawPic] or LINK:[DrawSizedPic].
should the image same at loading in the Size angepaßt go, is the function @LINK:[Create]("hSizedPic",...) To use. to the terminate the Program must the lever with LINK:[DeleteObject] again released go, there otherwise the of Image belegte Speicherplatz not again on the system zurückgegeben becomes.
ex XProfan 10 count following Ergänzungen:
it go (with P:L1 = -1) The subesquent File Types supported:
- Bitmap (*.bmp, *.rle, *.dib) - Jpeg (*.jpg, *.jpe, *.jpeg) - Gif (*.gif) - Metafile (*.wmf) - Enhanced Metafile ( *.emf) - Icons (*.ico) - Cursor (*.cur)
If the type (P:L1) = 0 and the Ressourcen-name (P:s2) = "&MEMBMP" is, then is the Result a copy the actually with LINK:[MCLS] or LINK:[MLOADBMP] begot Memory bitmap.
|
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 01/19/38 ▲ |
|
|
|