Changeset 6706 for trunk/src/user32/window.cpp
- Timestamp:
- Sep 15, 2001, 11:16:09 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r6397 r6706 1 /* $Id: window.cpp,v 1.10 3 2001-07-28 18:02:50sandervl Exp $ */1 /* $Id: window.cpp,v 1.104 2001-09-15 09:16:09 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 810 810 } 811 811 teb->o.odin.hwndFocus = 0; 812 if(activate) {813 SetActiveWindow(hwndTopParent);814 }812 //// if(activate) { 813 //// SetActiveWindow(hwndTopParent); 814 //// } 815 815 if(!IsWindow(hwnd)) return FALSE; //abort if window destroyed 816 816 817 return (OSLibWinSetFocus(OSLIB_HWND_DESKTOP, hwnd_O, 0)) ? lastFocus_W : 0; 817 //Always activate window (3rd par) -> seems to fix activation problems 818 return (OSLibWinSetFocus(OSLIB_HWND_DESKTOP, hwnd_O, 1)) ? lastFocus_W : 0; 818 819 } 819 820 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.