Changeset 3388 for trunk/src/user32/pmframe.cpp
- Timestamp:
- Apr 15, 2000, 5:11:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmframe.cpp
r3366 r3388 1 /* $Id: pmframe.cpp,v 1.5 0 2000-04-10 19:43:15sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.51 2000-04-15 15:11:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 168 168 case WM_HITTEST: 169 169 { 170 if (win32wnd->IsWindowCreated()) 170 if(win32wnd->getWindowHandle() != pWinMsg->hwnd) { 171 win32wnd = Win32BaseWindow::GetWindowFromHandle(pWinMsg->hwnd); 172 } 173 if(win32wnd && win32wnd->IsWindowCreated()) 171 174 { 172 175 MRESULT rc; … … 189 192 case WM_BUTTON3DBLCLK: 190 193 { 191 if (win32wnd->IsWindowCreated()) 194 if(win32wnd->getWindowHandle() != pWinMsg->hwnd) { 195 win32wnd = Win32BaseWindow::GetWindowFromHandle(pWinMsg->hwnd); 196 } 197 if(win32wnd && win32wnd->IsWindowCreated()) 192 198 { 193 199 win32wnd->MsgButton(pWinMsg); … … 211 217 case WM_MOUSEMOVE: 212 218 { 213 //OS/2 Window coordinates -> Win32 Window coordinates 214 if (win32wnd->IsWindowCreated()) 215 win32wnd->MsgMouseMove(pWinMsg); 219 if(win32wnd->getWindowHandle() != pWinMsg->hwnd) { 220 win32wnd = Win32BaseWindow::GetWindowFromHandle(pWinMsg->hwnd); 221 } 222 if(win32wnd && win32wnd->IsWindowCreated()) 223 win32wnd->MsgMouseMove(pWinMsg); 216 224 RestoreOS2TIB(); 217 225 return (MRESULT)TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.