[Visual Basic] [ Boolean
= ]imagekitcontrolname.DeleteBitmapObject
(hBitmap As Long)
[Visual C++] [
BOOL =
]imagekitcontrolname.DeleteBitmapObject(long
hBitmap)
Parameters
Name | Explanation |
---|---|
hBitmap | The Bitmap handle |
Return Value
Returns True (nonzero) if successful, otherwise returns False (0).
Explanation
The DeleteBitmapObject method deletes the Bitmap object. Use this method when the Bitmap handle retrieved by the BitmapFromDib method is no longer needed.