Navigation:  ThinBASIC Modules > GDIp >

GDIp_CreateHBitMapFromBitmap

Previous pageReturn to chapter overviewNext page

 

Description

 

Creates a Windows Graphics Device Interface (GDI) bitmap from this Bitmap object.

 

Syntax

 

hBitmap = GDIp_CreateHBitMapFromBitmap(Bitmap, bkColor)

 

Returns

 

Number.

Pointer to an HBITMAP that receives a handle to the GDI bitmap.

 

Parameters

 

Name

Type

Optional

Meaning

Bitmap

Number

No

Address of a pointer to a Bitmap object

bkColor

Number

No

The background color.

This parameter is ignored if the bitmap is totally opaque

 

Remarks

 

Restrictions

 

See also

 

Examples