| 81 | } |
| 82 | |
| 83 | void ScreenToClientRect(HWND hWnd, RECT* rect) |
| 84 | { |
| 85 | POINT p1 { rect->left, rect->top }, p2 { rect->right, rect->bottom }; |
| 86 | ScreenToClient(hWnd, &p1); |
| 87 | ScreenToClient(hWnd, &p2); |
| 88 | rect->left = p1.x; |
| 89 | rect->top = p1.y; |
| 90 | rect->right = p2.x; |
| 91 | rect->bottom = p2.y; |
| 92 | } |
| 93 | |
| 94 | void GetChildRect(HWND parent, HWND child, LPRECT rect) |
| 95 | { |
no outgoing calls
no test coverage detected