Button_GetImageList macro (commctrl.h)

Gets the BUTTON_IMAGELIST structure that describes the image list that is set for a button control. You can use this macro or send the BCM_GETIMAGELIST message explicitly.

Syntax

void Button_GetImageList(
   hwnd,
   pbuttonImagelist
);

Parameters

hwnd

Type: HWND

A handle to the button control.

pbuttonImagelist

Type: PBUTTON_IMAGELIST

A pointer to a BUTTON_IMAGELIST structure that contains image list information.

Return value

None

Remarks

Note  To use this macro, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

BCM_GETIMAGELIST

BUTTON_IMAGELIST

Reference