IUIX_Combo::SetItemImage Method

From PDF XChange PDF SDK
Revision as of 14:24, 15 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Sets image for an item with a given number.

Syntax

HRESULT SetItemImage([in]  LONG       nItem,
                     [in]  IUnknown*  pImage);

Parameters

nItem
[in] number of an item to set image for.
pImage
[in] image to set for required item. Note, that pImage object should implement IUIX_Icon or IUIX_ImageData interface.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Combo