Help Center

CButton.GetImageListmethod

Gets the BUTTON_IMAGELIST structure that describes the image list assigned to a button control.

WindowsmethodCButton.incdocumented

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

NameDescription
pbuttonImagelistA pointer to a BUTTON_IMAGELIST structure that receives the image list information.
buttonImagelistA 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