Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Assigns an image list to a button control. You can use this macro or send the BCM_SETIMAGELIST message explicitly.
Syntax
BOOL Button_SetImageList(
   HWND              hwnd,
   PBUTTON_IMAGELIST pbuttonImagelist
);
Parameters
hwnd
Type: HWND
A handle to the button control.
pbuttonImagelist
Type: PBUTTON_IMAGELIST
A pointer to a BUTTON_IMAGELIST structure that contains the image list information to set.
Return value
Type: BOOL
If the macro succeeds, it returns TRUE. Otherwise it returns FALSE.
Remarks
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 |