IASImageMenu::get_OverlayOffset

This method gets pointers to the position of the overlay.

Syntax

HRESULT get_OverlayOffset( BOOL fFocus, long *pleft, long *ptop );

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.
pleft
[out] Pointer to the x-coordinate of the left edge of the overlay.
ptop
[out] Pointer to the y-coordinate of the upper edge of the overlay.

Return Values

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

See Also

IASImageMenu::put_OverlayOffset