Changeset 2200 for trunk/src/user32/window.cpp
- Timestamp:
- Dec 24, 1999, 7:42:46 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r2114 r2200 1 /* $Id: window.cpp,v 1.4 3 1999-12-18 16:31:52 cbratschiExp $ */1 /* $Id: window.cpp,v 1.44 1999-12-24 18:39:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 532 532 if(!window) { 533 533 dprintf(("IsWindow, window %x not found", hwnd)); 534 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 534 535 return FALSE; 535 536 } … … 546 547 if(!window) { 547 548 dprintf(("IsWindowEnabled, window %x not found", hwnd)); 549 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 548 550 return 0; 549 551 } … … 1183 1185 HWND WIN32API ChildWindowFromPointEx (HWND hwndParent, POINT pt, UINT uFlags) 1184 1186 { 1185 RECT rect; 1186 HWND hWnd; 1187 POINT framePt; 1187 RECT rect; 1188 HWND hWnd; 1188 1189 1189 1190 dprintf(("ChildWindowFromPointEx(%08xh,%08xh,%08xh).\n", … … 1196 1197 } 1197 1198 1198 MapWindowPoints(hwndParent,GetParent(hwndParent),&framePt,1);1199 if (PtInRect (&rect, framePt) == 0) {1199 ClientToScreen(hwndParent, &pt); 1200 if (PtInRect (&rect, pt) == 0) { 1200 1201 // point is outside window 1201 1202 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.