 |
ClientToScr |
Function (ROM Call 0x42C) |
Converts a window-based rectangle to screen-based coordinates.
ClientToScr adds the values of x1 and y1 in WindowRect to all x and y values in Rect, and returns the result in Result.
This is usually used to convert a window-based SCR_RECT to screen-based coordinates by passing it as the second parameter to this function.
The first parameter is then a screen-based SCR_RECT of the window's client region.
This routine is called in SetWinClip.
Used by: SetWinClip, WinBitmapGet, WinScrollH, WinScrollV
See also: ScrToWin