[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ClientToScreen( hWnd, aPoint )-> <nil>
------------------------------------------------------------------------------
PARAMETER:
<hWnd> Is the handle that identifies the window whose client area
is used for the conversion.
<aPoint> Is an array of two elements that holds the coordinates of
a given point on the screen. This values are transformed
to screen coordinates and placed back into this Array again
DESCRIPTION:
The ClientToScreen function replaces the coordinates in the <aPoint> Array
with the screen coordinates. The screen coordinates are relative to the
upper-left corner of the screen.
EXAMPLE:
+--------------------------------------------------------------+
| /* ClientToScreen sample */ |
| LOCAL ; |
| aPoint := { 100, 120 } |
| ClientToScreen( oWnd:hWnd, aPoint ) |
| ? aPoint[1] |
| ? aPoint[2] |
+--------------------------------------------------------------+
SOURCE:
SOURCE\WINAPI\Clt2Scr.c
See Also:
ScreenToClient
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson