Sign in Join
FPDoc Onlineexperiment

TWidgetSet.GetCurrentObject function

Member of TWidgetSetpublicIn unit InterfaceBase

Returns the currently selected object in a device context.

Declaration

pascal
function GetCurrentObject(DC: HDC; uObjectType: UINT): HGDIOBJ
 ; virtual

Arguments

DC

The device context.

uObjectType

The type of the selected object, e.g. OBJ_BRUSH.

Function result

The object handle, zero on failure.

Description

Nothing more than the line above yet.

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