COleClientItem::GetIconicMetafile

COleClientItem::GetIconicMetafile

HGLOBAL GetIconicMetafile( );

Return Value

A handle to the metafile if successful; otherwise NULL.

Remarks

Retrieves the metafile used for drawing the item’s icon. If there is no current icon, a default icon is returned. This is called automatically by the MFC/OLE dialogs and is usually not called directly.

This function also calls SetIconicMetafile to cache the metafile for later use.

COleClientItem Overview |  Class Members |  Hierarchy Chart

See Also   COleClientItem::SetIconicMetafile