CButton.DeleteImagemethod
Deletes an image (icon or bitmap) associated with a button.
Syntax
FUNCTION DeleteImage (BYVAL hButton AS HWND, BYVAL ImageType AS DWORD) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hButton | The handle of the button control. | |
ImageType | The type of image to delete. This parameter can be one of the following values: |
Description
Deletes an image (icon or bitmap) associated with a button. Returns TRUE or FALSE.
Example
CButton.Deleteimage(hButton, IMAGE_BITMAP) CButton.Deleteimage(hButton, IMAGE_ICON)
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:239
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class