Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.11 KB

ImageList_GetImageCount.md

File metadata and controls

54 lines (36 loc) · 1.11 KB

Home

Function name : ImageList_GetImageCount

Group: Windows Controls - Library: comctl32


Retrieves the number of images in an image list.


Code examples:

How to view icons stored in executable files (Icon Viewer) - II
System Image List Viewer
How to view system icons for the classes installed on the local machine

Declaration:

int ImageList_GetImageCount(
	HIMAGELIST himl
);  

FoxPro declaration:

DECLARE INTEGER ImageList_GetImageCount IN comctl32;
	INTEGER himl  

Parameters:

himl A handle to the image list.


Return value:

Returns the number of images.


Comments:

nImageCount = ImageList_GetImageCount(THIS.imagelist32.himl)

See also: ImageList_Add, ImageList_Remove.