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