Changeset 4485 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Oct 16, 2000, 1:02:50 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r4483 r4485 1 /* $Id: win32wbase.cpp,v 1.21 6 2000-10-11 23:07:40 sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.217 2000-10-16 11:02:50 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1607 1607 Win32BaseWindow *window = GetTopParent(); 1608 1608 if(window && !(window->getClass()->getStyle() & CS_NOCLOSE)) 1609 PostMessageA( getWindowHandle(), WM_SYSCOMMAND, SC_CLOSE, 0);1609 PostMessageA(window->getWindowHandle(), WM_SYSCOMMAND, SC_CLOSE, 0); 1610 1610 return 0; 1611 1611 } … … 1663 1663 if((HIWORD(lParam) & KEYDATA_ALT) && wParam) 1664 1664 { 1665 if (wParam == VK_TAB || wParam == VK_ESCAPE )1665 if (wParam == VK_TAB || wParam == VK_ESCAPE || wParam == VK_F4) 1666 1666 break; 1667 1667 if (wParam == VK_SPACE && (getStyle() & WS_CHILD)) { … … 1852 1852 BOOL fInternalMsgBackup = fInternalMsg; 1853 1853 1854 //if the destination window was created by this process & thread, call window proc directly 1855 if(dwProcessId != currentProcessId || dwThreadId != GetCurrentThreadId()) { 1856 dprintf(("SendMessages (inter-process) %x %x %x %x", getWindowHandle(), Msg, wParam, lParam)); 1857 return OSLibSendMessage(getOS2WindowHandle(), Msg, wParam, lParam, FALSE); 1858 } 1859 1854 1860 DebugPrintMessage(getWindowHandle(), Msg, wParam, lParam, FALSE, TRUE); 1855 1861 … … 1905 1911 LRESULT rc; 1906 1912 BOOL fInternalMsgBackup = fInternalMsg; 1913 1914 //if the destination window was created by this process & thread, call window proc directly 1915 if(dwProcessId != currentProcessId || dwThreadId != GetCurrentThreadId()) { 1916 dprintf(("SendMessages (inter-process) %x %x %x %x", getWindowHandle(), Msg, wParam, lParam)); 1917 return OSLibSendMessage(getOS2WindowHandle(), Msg, wParam, lParam, FALSE); 1918 } 1907 1919 1908 1920 DebugPrintMessage(getWindowHandle(), Msg, wParam, lParam, TRUE, TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.