Changeset 3603 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- May 24, 2000, 9:30:08 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3587 r3603 1 /* $Id: win32wbase.cpp,v 1.19 3 2000-05-22 19:05:58sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.194 2000-05-24 19:30:06 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1142 1142 //****************************************************************************** 1143 1143 //****************************************************************************** 1144 LONG Win32BaseWindow::sendHitTest(ULONG lParam) 1145 { 1146 lastHitTestVal = SendInternalMessageA(WM_NCHITTEST, 0, lParam); 1147 return lastHitTestVal; 1148 } 1149 //****************************************************************************** 1150 //****************************************************************************** 1144 1151 BOOL Win32BaseWindow::isMDIClient() 1145 1152 { … … 1387 1394 1388 1395 case WM_ACTIVATE: 1389 return 0; 1396 /* The default action in Windows is to set the keyboard focus to 1397 * the window, if it's being activated and not minimized */ 1398 if (LOWORD(wParam) != WA_INACTIVE) { 1399 if(!(getStyle() & WS_MINIMIZE)) 1400 SetFocus(getWindowHandle()); 1401 } 1402 return 0; 1390 1403 1391 1404 case WM_SETCURSOR: … … 2131 2144 Win32BaseWindow *window; 2132 2145 HWND hParent = 0; 2133 BOOL fShow = FALSE;2134 2146 2135 2147 if (fuFlags & … … 2245 2257 rc = OSLibWinSetMultWindowPos(&swp, 1); 2246 2258 2247 #ifdef DEBUG 2248 if(fShow) { 2249 dprintf(("Frame style 0x%08x, client style 0x%08x", OSLibQueryWindowStyle(OS2HwndFrame), OSLibQueryWindowStyle(OS2Hwnd))); 2250 } 2251 #endif 2252 if (rc == FALSE) 2259 if(rc == FALSE) 2253 2260 { 2254 2261 dprintf(("OSLibWinSetMultWindowPos failed! Error %x",OSLibWinGetLastError())); 2255 } 2262 return 0; 2263 } 2264 2256 2265 if((fuFlags & SWP_FRAMECHANGED) && (fuFlags & (SWP_NOMOVE | SWP_NOSIZE) == (SWP_NOMOVE | SWP_NOSIZE))) 2257 2266 {
Note:
See TracChangeset
for help on using the changeset viewer.