Ignore:
Timestamp:
Jun 27, 1999, 6:24:19 PM (26 years ago)
Author:
sandervl
Message:

Message handler updates & bugfixes

File:
1 edited

Legend:

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

    r215 r225  
    1 /* $Id: defwndproc.cpp,v 1.5 1999-06-26 13:21:11 sandervl Exp $ */
     1/* $Id: defwndproc.cpp,v 1.6 1999-06-27 16:23:23 sandervl Exp $ */
    22
    33/*
     
    5353        {
    5454                DWORD dwStyle = GetWindowLongA(hwnd, GWL_STYLE);
     55                DWORD dwExStyle = GetWindowLongA(hwnd, GWL_EXSTYLE);
    5556                dprintf(("DefWndProc: WM_MOUSEACTIVATE for %x Msg %s", hwnd, GetMsgText(HIWORD(lParam))));
    56                 if (dwStyle & WS_CHILD)
     57                if(dwStyle & WS_CHILD && !(dwExStyle & WS_EX_NOPARENTNOTIFY) )
    5758                {
    5859                        HWND hwndParent = GetParent(hwnd);
     
    6869        {
    6970                DWORD dwStyle = GetWindowLongA(hwnd, GWL_STYLE);
     71                DWORD dwExStyle = GetWindowLongA(hwnd, GWL_EXSTYLE);
    7072                dprintf(("DefWndProc: WM_SETCURSOR for %x Msg %s", hwnd, GetMsgText(HIWORD(lParam))));
    71                 if (dwStyle & WS_CHILD)
     73                if(dwStyle & WS_CHILD && !(dwExStyle & WS_EX_NOPARENTNOTIFY) )
    7274                {
    7375                        HWND hwndParent = GetParent(hwnd);
Note: See TracChangeset for help on using the changeset viewer.