IASImageMenu::put_NonFocusImageColor

This method sets the color for an non-focused image.

Syntax

HRESULT put_NonFocusImageColor( OLE_COLOR clr, BOOL fSet );

Parameters

clr
[in] Color for the non-focused image.
fSet
Boolean that is set to TRUE if the image does not have the focus, or to FALSE is the image has the focus.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.

Remarks

This method produces a single color version of an image for non-focused applications.

Use the RGB macro to set the components of clr before passing clr to the method.

See Also

RGB