Click to return to the Reusing Browser Technology home page    
WebBrowser Methods     ExecWB Method     WebBrowser Methods    
Web Workshop  |  Reusing Browser Technology

ClientToWindow Method


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.

Syntax

object.ClientToWindow pcx, pcy

Parameters

object
Required. An object expression that evaluates to an object in the Applies To list.
pcx
Required. A long integer value that specifies the x-coordinate of the point in client coordinates. When ClientToWindow returns, this variable contains the x-coordinate of the point in window coordinates.
pcy
Required. A long integer value that specifies the y-coordinate of the point in client coordinates. When ClientToWindow returns, this variable contains the y-coordinate of the point in window coordinates.

Applies To

InternetExplorer

See Also

Height, Width


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.