Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the dimensions of images in an image list and removes all images from the list.
BOOL ImageList_SetIconSize(
HIMAGELIST himl,
int cx,
int cy
);
himl
Type: HIMAGELIST
A handle to the image list.
cx
Type: int
The width, in pixels, of the images in the image list. All images in an image list have the same dimensions.
cy
Type: int
The height, in pixels, of the images in the image list. All images in an image list have the same dimensions.
Type: BOOL
Returns nonzero if successful, or zero otherwise.
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 |
Library | Comctl32.lib |
DLL | Comctl32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today