Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.1 KB

File metadata and controls

58 lines (39 loc) · 1.1 KB

Home

Function name : ImageList_GetIconSize

Group: Windows Controls - Library: comctl32


Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.


Code examples:

System Image List Viewer

Declaration:

BOOL ImageList_GetIconSize(
	HIMAGELIST himl,
	int *cx,
	int *cy
);  

FoxPro declaration:

DECLARE INTEGER ImageList_GetIconSize IN comctl32;
	INTEGER himl,;
	INTEGER @cx,;
	INTEGER @cy  

Parameters:

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.


Return value:

Returns nonzero if successful, or zero otherwise.


Comments:

See also: ImageList_GetImageInfo.