IASTabber::AddImage

This method adds an image to the tabber control.

Syntax

HRESULT AddImage( OLE_HANDLE hImage, OLE_HANDLE hImageMask, long lData );

Parameters

hImage
Handle to the image.
hImageMask
Handle to the image list mask. The mask specifies which image in the list is displayed.
lData
Long integer that contains data associated with the tab.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.