Ignore:
Timestamp:
Sep 15, 2001, 11:16:09 AM (24 years ago)
Author:
sandervl
Message:

focus/activation changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r6439 r6706  
    1 /* $Id: win32wbase.cpp,v 1.279 2001-08-02 14:50:43 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.280 2001-09-15 09:16:08 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    973973        threadidhwnd = O32_GetWindowThreadProcessId(hwndOS2Win, &procidhwnd);
    974974    }
     975#if 0
    975976    //Warning: temporary hack to force focus to newly created window
    976977    //RealPlayer 8 does not pass WM_ACTIVATE to defwindowproc and doesn't call
    977978    //setfocus -> keyboard focus not set
    978979    //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//    }
    983984    //Warning: temporary hack to force focus to newly created window
     985    //SvL: No longer appears to happen with rp8
     986#endif
    984987
    985988    if(fActivate) {
Note: See TracChangeset for help on using the changeset viewer.