IASImageMenu::put_Overlay

This method sets an image to display over a focus item or the entire image menu.

Syntax

HRESULT put_Overlay( BOOL fFocus, OLE_HANDLE hImage, OLE_HANDLE hImageMask, BOOL fBitmap );

Parameters

fFocus
Boolean that is set to TRUE if the image has the focus, and to FALSE if the image does not have the focus.
hImage
[in] Handle to the image bitmap.
hImageMask
[in] Handle to the image mask. Masks are not needed for icons.
fBitmap
[in] Boolean that is set to TRUE if the image is a bitmap, or to FALSE if it is an icon.

Return Values

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

See Also

IASImageMenu::get_Overlay