Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - clienttoscreen() converts client coordinates into screen coordinates http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ClientToScreen()       Converts client coordinates into screen coordinates
--------------------------------------------------------------------------------

   Syntax:              ClientToScreen( <hWnd>, <aPoint>)  --> nil

                        This function converts the client coordinates of a
                        given point on the screen to screen coordinates.

   Parameters:

   <hWnd>               The handle of the window whose client area is
                        used for the conversion.

   <aPoint>             An array of two elements that holds the
                        coordinates of the point. The two elements of this
                        array are transformed accordingly with the new
                        calculated values.

   Returns:             Nothing. The result is placed inside the same array.

   Sample:              local aPoint := { 100, 120 }

                        ClientToScreen( oWnd:hWnd, aPoint )

                        ? aPoint[ 1 ]
                        ? aPoint[ 2 ]

   Source code:         SOURCE\\WINAPI\\Clt2Scr.c

   See also:            ScreenToClient()



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson