RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragObject.Instance Method

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

Pascal
function Instance: THandle; virtual;
C++
virtual __fastcall THandle Instance();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!