Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1016 Bytes

File metadata and controls

52 lines (35 loc) · 1016 Bytes

Home

Function name : ImageList_Remove

Group: Windows Controls - Library: comctl32


Removes an image from an image list.


Code examples:

How to view icons stored in executable files (Icon Viewer) - II

Declaration:

BOOL ImageList_Remove(
	HIMAGELIST himl,
	int i
);  

FoxPro declaration:

DECLARE INTEGER ImageList_Remove IN comctl32;
	INTEGER himl,;
	INTEGER imageindex  

Parameters:

himl Handle to the image list.

i Index of the image to remove. If this parameter is -1, the function removes all images.


Return value:

Returns nonzero if successful, or zero otherwise.


Comments:

See also: ImageList_Add, ImageList_GetImageCount.