Ignore:
Timestamp:
Mar 27, 2003, 11:42:42 AM (22 years ago)
Author:
sandervl
Message:

Don't change focus when processing mouse button message if the top parent is a fake window

File:
1 edited

Legend:

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

    r9933 r9941  
    1 /* $Id: win32wbase.cpp,v 1.363 2003-03-22 20:27:12 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.364 2003-03-27 10:42:41 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    11561156
    11571157                    //SvL: Calling OSLibSetActiveWindow(hwndTop); causes focus problems
    1158                     if (win32top) {
     1158                    if (win32top && !win32top->isFakeWindow()) {
    11591159                        //Must use client window handle (not frame!!)
    11601160                        SetFocus(win32top->getWindowHandle());
     
    14611461//******************************************************************************
    14621462BOOL Win32BaseWindow::isDesktopWindow()
     1463{
     1464  return FALSE;
     1465}
     1466//******************************************************************************
     1467//******************************************************************************
     1468BOOL Win32BaseWindow::isFakeWindow()
    14631469{
    14641470  return FALSE;
Note: See TracChangeset for help on using the changeset viewer.