[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
ReleaseHandle - returns the identity of the handle that has just been released.
Source position: graphics.pp line 1230
protected function TSharedRasterImage.ReleaseHandle: THandle; virtual; |
ReleaseHandle is a THandle function used to release a reference for the handle in the class instance. The return value contains the value for the handle on entry.
ReleaseHandle sets the handle value to 0 to indicate that it is no longer used or invalid. It does not call DeleteObject to remove the handle in widgetset classes.
ReleaseHandle is called from classes which support a specific image format, like TCustomBitmap and TIcon, when their ReleaseHandle method is called to free the handle for its shared image.
Version 3.2 | Generated 2024-02-25 | Home |