clsCommonWrapper.CreatePictureFromBitmapHandle Function
Creates a standard picture object from the the given bitmap handle
Syntax
Public Function CreatePictureFromBitmapHandle (ByVal hBmp As Long, _ Optional ByVal bUseACopy As Boolean = True) As StdPicture
Parameters
| Parameter |
Description |
| ByVal hBmp As Long |
The bitmap/dib section handle |
| Optional ByVal bUseACopy As Boolean = True |
Refers the new picture handle to a newly created handle (in this case you need to Delete the original handle manually), otherwise the original handle is used (you don't need to clear the handle) |
|