Changeset 6706 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Sep 15, 2001, 11:16:09 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r6439 r6706 1 /* $Id: win32wbase.cpp,v 1.2 79 2001-08-02 14:50:43sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.280 2001-09-15 09:16:08 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 973 973 threadidhwnd = O32_GetWindowThreadProcessId(hwndOS2Win, &procidhwnd); 974 974 } 975 #if 0 975 976 //Warning: temporary hack to force focus to newly created window 976 977 //RealPlayer 8 does not pass WM_ACTIVATE to defwindowproc and doesn't call 977 978 //setfocus -> keyboard focus not set 978 979 //TODO: Find real cause!! 979 if(GetFocus() == 0 && fActivate) {980 if(!(getStyle() & WS_MINIMIZE))981 SetFocus(getWindowHandle());982 }980 // if(GetFocus() == 0 && fActivate) { 981 // if(!(getStyle() & WS_MINIMIZE)) 982 // SetFocus(getWindowHandle()); 983 // } 983 984 //Warning: temporary hack to force focus to newly created window 985 //SvL: No longer appears to happen with rp8 986 #endif 984 987 985 988 if(fActivate) {
Note:
See TracChangeset
for help on using the changeset viewer.