Sign in Join
FPDoc Onlineexperiment

TLoadCursorFunction procedure type

In unit InterfaceBase

Specifies a function called to load a cursor shape with the specified identifier and return the handle for the cursor image.

Declaration

pascal
TLoadCursorFunction = function(hInstance: TLCLHandle; 
 lpCursorName: PChar): HCursor

Arguments

hInstance

Handle for the resource where the specified cursor is stored.

lpCursorName

Identifier for the cursor shape loaded in the routine.

Function result

HCursor handle for the specified cursor shape.

Description

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

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