Ignore:
Timestamp:
Oct 25, 2001, 12:40:45 PM (24 years ago)
Author:
sandervl
Message:

WM_ACTIVATEAPP fix

File:
1 edited

Legend:

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

    r7195 r7200  
    1 /* $Id: win32wbase.cpp,v 1.295 2001-10-24 15:41:54 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.296 2001-10-25 10:40:45 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    10011001    }
    10021002
    1003     rc = SendInternalMessageA(WM_ACTIVATE, MAKELONG((fActivate) ? WA_ACTIVE : WA_INACTIVE, fMinimized), hwnd);
    1004 
    1005     if(hwndOS2Win) {
    1006         threadidhwnd = O32_GetWindowThreadProcessId(hwndOS2Win, &procidhwnd);
    1007     }
    1008 
    1009     if(fActivate) {
    1010          SendInternalMessageA(WM_ACTIVATEAPP, 1, dwThreadId);    //activate; specify window thread id
    1011     }
    1012     else SendInternalMessageA(WM_ACTIVATEAPP, 0, threadidhwnd);  //deactivate; specify thread id of other process
    1013     return rc;
     1003    return SendInternalMessageA(WM_ACTIVATE, MAKELONG((fActivate) ? WA_ACTIVE : WA_INACTIVE, fMinimized), hwnd);
    10141004}
    10151005//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.