Sign in Join
FPDoc Onlineexperiment

TLoadBitmapFunction procedure type

In unit InterfaceBase

Specifies a function called to load a bitmap image from the specified file or resource and return the handle for the image.

Declaration

pascal
TLoadBitmapFunction = function(hInstance: TLCLHandle; 
 lpBitmapName: PChar): HBitmap

Arguments

hInstance

Handle for the resource where the specified bitmap is stored.

lpBitmapName

Name for the bitmap loaded in the routine.

Function result

HBitmap handle for the bitmap image loaded in the routine.

Description

Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the hInstance parameter.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.