Contents Index Topic Contents | ||
Previous Topic: Methods Next Topic: ExecWB Method |
ClientToWindow Method
Description
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
Part Description 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
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.