IASImageMenu::get_NonFocusImageColor

This method gets the color assigned to a non-focused image.

Syntax

HRESULT get_NonFocusImageColor( OLE_COLOR *pclr, BOOL *pfSet );

Parameters

pclr
Pointer to the icon color.
pfSet
Pointer to a Boolean that is set to TRUE if the image does not have the focus, and to FALSE if the image has the focus.

Return Values

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

Remarks

This method retrieves single color version of non-focused images.

Use the GetRValue, GetGValue, and GetBValue macros to get the color components of pclr.

See Also

IASImageMenu::put_NonFocusImageColor, GetRValue, GetGValue, GetBValue