Export (0) Print
Expand All

IWebBrowser2::Left Property

Sets or gets the coordinate of the left edge of the object.

Syntax


HRESULT IWebBrowser2::get_Left(long *pl);HRESULT IWebBrowser2::put_Left(long Left);

Parameters

pl
Pointer to a variable of type long that receives the coordinate of the left edge of the window, in pixels.
Left
long that specifies the coordinate of the left edge of the window, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The WebBrowser object returns the offset of the control in the client area of the browser; InternetExplorer returns the screen coordinates of the browser frame.

The values for this property change as the object is moved by the user or by code. Setting this property changes the position of the object.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft