CButton.GetImageListmethod
Gets the BUTTON_IMAGELIST structure that describes the image list assigned to a button control.
Syntax
FUNCTION GetImageList (BYVAL hButton AS HWND, BYVAL pbuttonImagelist AS BUTTON_IMAGELIST PTR) AS BOOLEAN
FUNCTION GetImageList (BYVAL hButton AS HWND, BYREF buttonImagelist AS BUTTON_IMAGELIST) AS BOOLEAN
FUNCTION GetImageList (BYVAL hButton AS HWND) AS BUTTON_IMAGELIST
Parameters
| Name | Description | |
|---|---|---|
pbuttonImagelist | A pointer to a BUTTON_IMAGELIST structure that receives the image list information. | |
buttonImagelist | A BUTTON_IMAGELIST structure that receives the image list information. |
Description
Gets the BUTTON_IMAGELIST structure that describes the image list assigned to a button control.
Example
DIM bi AS BUTTON_IMAGELIST CButton.GetImageList(hButton, @bi) CButton.GetImageList(hButton, bi) bi = CButton.GetImageList(hButton)
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:188
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class