ClientToWindow MethodClientToWindow Method*
*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

PartDescription
objectRequired. An object expression that evaluates to an object in the Applies To list.
pcxRequired. 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.
pcyRequired. 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


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