Changeset 2099 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 17, 1999, 6:18:04 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r2089 r2099 1 /* $Id: win32wbase.cpp,v 1.11 2 1999-12-16 00:47:21 sandervlExp $ */1 /* $Id: win32wbase.cpp,v 1.113 1999-12-17 17:18:03 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 42 42 #include "winmouse.h" 43 43 #include <win\hook.h> 44 #define INCL_TIMERWIN32 45 #include "timer.h" 44 46 45 47 #define HAS_DLGFRAME(style,exStyle) \ … … 807 809 SendInternalMessageA(WM_DESTROY, 0, 0); 808 810 if(::IsWindow(hwnd) == FALSE) { 809 810 811 //object already destroyed, so return immediately 812 return 1; 811 813 } 812 814 SendInternalMessageA(WM_NCDESTROY, 0, 0); … … 814 816 if (hwndHorzScroll && OSLibWinQueryWindow(hwndHorzScroll,QWOS_PARENT) == OSLibWinQueryObjectWindow()) OSLibWinDestroyWindow(hwndHorzScroll); 815 817 if (hwndVertScroll && OSLibWinQueryWindow(hwndVertScroll,QWOS_PARENT) == OSLibWinQueryObjectWindow()) OSLibWinDestroyWindow(hwndVertScroll); 818 819 TIMER_KillTimerFromWindow(OS2Hwnd); 816 820 817 821 if(getFirstChild() == NULL) { … … 1989 1993 case WM_MBUTTONDOWN: 1990 1994 case WM_RBUTTONDOWN: 1991 NotifyParent(Msg, wParam, lParam); 1995 { 1996 if (getParent()) 1997 { 1998 POINTS pt = MAKEPOINTS(lParam); 1999 POINT point; 2000 2001 point.x = pt.x; 2002 point.y = pt.y; 2003 MapWindowPoints(getParent()->getWindowHandle(),Win32Hwnd,&point,1); 2004 NotifyParent(Msg,wParam,MAKELPARAM(point.x,point.y)); 2005 } 1992 2006 rc = win32wndproc(getWindowHandle(), Msg, wParam, lParam); 1993 2007 break; 2008 } 1994 2009 1995 2010 case WM_DESTROY:
Note:
See TracChangeset
for help on using the changeset viewer.