Unicode Controls & Classes for VB6 - Version 4

clsGpBitmap.CreateFromHBitmap Function

Loads a new image using the given GDI bitmap and palette

Syntax
Public Function CreateFromHBitmap (ByVal hBmp As Long, _
ByVal hPalette As Long) As GpStatus
Parameters
Parameter Description
ByVal hBmp As Long The source GDI bitmap or DibSection
ByVal hPalette As Long The source palette (if available)
Remarks