ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TJamSystemImageList.BitmapFromHBitmap

Converts the given HBITMAP into a TBitmap.

Syntax
Pascal
class function BitmapFromHBitmap(pBmpHandle: HBITMAP; pWidth: Integer; pHeight: Integer; pBgColor: TColor = clNone): TBitmap;
Parameters 
Description 
pBmpHandle: HBITMAP 
The handle of the bitmap to be converted.  
pWidth: Integer 
The destination width of the TBitmap.  
pHeight: Integer 
The destination height of the TBitmap  
pBgColor: TColor = clNone 
An optional background color to be used when converting.  

A TBitmap that was created from the pBmpHandle.