Condividi tramite


CMFCToolBarImages::ExtractIcon

Returns the icon that has a specified image index from the toolbar images.

HICON ExtractIcon(
   int nIndex 
);

Parameters

  • [in] nIndex
    The zero-based index in the image list at which the image to be extracted as an icon is located.

Return Value

A handle to the extracted icon, or NULL if nIndex is out of range.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart