次の方法で共有


Image Information in Image Lists

OverviewSample

includes a number of functions that retrieve information from an image list. The member function fills an IMAGEINFO structure with information about a single image, including the handles of the image and mask bitmaps, the number of color planes and bits per pixel, and the bounding rectangle of the image within the image bitmap. You can use this information to directly manipulate the bitmaps for the image.

The member function retrieves the number of images in an image list.

You can create an icon based on an image and mask in an image list by using the member function. The function returns the handle of the new icon.

See Also   Windows Common Controls and MFC Classes