CImageList::GetImageInfo

BOOL GetImageInfo( int nImage, IMAGEINFO* pImageInfo ) const;

Return Value

Nonzero if successful; otherwise 0.

Parameters

nImage

Zero-based index of the image.

pImageInfo

Pointer to an IMAGEINFO structure that receives information about the image. The information in this structure can be used to directly manipulate the bitmaps for the image.

Remarks

Call this function to retrieve information about an image.

The IMAGEINFO structure contains information about an image in an image list.

CImageList OverviewClass MembersHierarchy Chart

See Also   CImageList::GetImageCount