RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.THandle Type

THandle is a general purpose data reference (handle).

Pascal
THandle = LongWord;
C++
LongWord THandle;

For example, the SaveToClipboardFormat uses a THandle variable to hold a handle to the data of a bit map. SetAsHandle can then be used to store the bit map data, via its handle, to the clipboard.  

Handles are used extensively in communication with Windows APIs. 

 

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