Group: Windows Controls - Library: comctl32
Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.
BOOL ImageList_GetIconSize(
HIMAGELIST himl,
int *cx,
int *cy
); DECLARE INTEGER ImageList_GetIconSize IN comctl32;
INTEGER himl,;
INTEGER @cx,;
INTEGER @cy himl A handle to the image list.
cx A pointer to an integer variable that receives the width, in pixels, of each image.
cy A pointer to an integer variable that receives the height, in pixels, of each image.
Returns nonzero if successful, or zero otherwise.
See also: ImageList_GetImageInfo.
Home