This documentation is archived and is not being maintained.


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

HICON ExtractIcon(
   int nIndex 

[in] nIndex

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

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

Header: afxtoolbarimages.h