Vcl.Controls.TDragObject.Instance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Instance: THandle; virtual;

C++

virtual NativeUInt __fastcall Instance();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragObject

Description

Returns the instance (module) handle of the EXE or DLL that created the drag object.

Use Instance to obtain the instance handle for loading a resource, such as a cursor, associated with the drag object. See the example for the Cursors property of TScreen for an example of using the instance handle to load a cursor.

See Also