IWebBrowser2::ClientToWindowIWebBrowser2::ClientToWindow*
*Contents  *Index  *Topic Contents
*Previous Topic: IWebBrowser2
*Next Topic: IWebBrowser2::ExecWB

IWebBrowser2::ClientToWindow

HRESULT ClientToWindow(
    int FAR* pcx,
    int FAR* pcy
);

Converts the client coordinates of a point to window coordinates. Client coordinates are relative to the upper-left corner of the client area; window coordinates are relative to the upper-left corner of a window.

pcx
The x-coordinate of the point to convert, in client coordinates. When ClientToWindow returns, this variable contains the x-coordinate of the point in window coordinates.
pcy
The y-coordinate of the point to convert, in client coordinates. When ClientToWindow returns, this variable contains the y-coordinate of the point in window coordinates.

Applies To

Internet Explorer


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.