COleClientItem::SetIconicMetafile
Caches the metafile used for drawing the item's icon.
BOOL SetIconicMetafile(
HGLOBAL hMetaPict
);
- hMetaPict
A handle to the metafile used for drawing the item's icon.
Nonzero if successful; otherwise 0.
Use GetIconicMetafile to retrieve the metafile.
The hMetaPict parameter is copied into the item; therefore, hMetaPict must be freed by the caller.
Header: afxole.h