IASImageMenu::get_Overlay

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

Syntax

HRESULT get_Overlay( BOOL fFocus, OLE_HANDLE *phImage, OLE_HANDLE *phImageMask, BOOL *pfBitmap );

Parameters

fFocus
Boolean that is set to TRUE if the image has the focus, or to FALSE if the image does not have the focus.
phImage
[out] Pointer to the handle to the image bitmap.
phImageMask
[out] Pointer to the handle to the image mask. Masks are not needed for icons.
pfBitmap
[out] Pointer to a 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::put_Overlay