| 1783 | |
| 1784 | |
| 1785 | void ScreenToWindow(POINT &aPoint, HWND aHwnd) |
| 1786 | // Convert screen coordinates to window coordinates (i.e. relative to the window's upper-left corner). |
| 1787 | { |
| 1788 | RECT rect; |
| 1789 | GetWindowRect(aHwnd, &rect); |
| 1790 | aPoint.x -= rect.left; |
| 1791 | aPoint.y -= rect.top; |
| 1792 | } |
| 1793 | |
| 1794 | |
| 1795 |
nothing calls this directly
no outgoing calls
no test coverage detected