IASTitleBar::put_Icon

This method sets the title bar icon.

Syntax

HRESULT put_Icon( OLE_HANDLE hIcon );

Parameters

phIcon
Pointer to the OLE_HANDLE to the icon.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

The size of the title bar icon must be 16 pixels x 16 pixels.

See Also

IASTitleBar::get_Icon