Changeset 10511 for trunk/src


Ignore:
Timestamp:
Mar 12, 2004, 5:48:17 PM (21 years ago)
Author:
sandervl
Message:

WM_EXITSIZEMOVE should be sent after the window position and/or size has been changed.

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r9951 r10511  
    694694    if (HOOK_CallHooksA( WH_CBT, HCBT_MOVESIZE, (WPARAM)hwnd, (LPARAM)&lastsizingRect )) moved = FALSE;
    695695
    696     SendMessageA( hwnd, WM_EXITSIZEMOVE, 0, 0 );
    697     SendMessageA( hwnd, WM_SETVISIBLE, !IsIconic(hwnd), 0L);
    698 
    699696    /* window moved or resized */
    700697    if (moved)
     
    734731    }
    735732
     733    // Needs to be sent *after* changing the window position/size
     734    SendMessageA( hwnd, WM_EXITSIZEMOVE, 0, 0 );
     735    SendMessageA( hwnd, WM_SETVISIBLE, !IsIconic(hwnd), 0L);
     736
    736737    if (IsIconic(hwnd))
    737738    {
  • trunk/src/user32/wndmsg.cpp

    r10431 r10511  
    1 /* $Id: wndmsg.cpp,v 1.20 2004-01-30 22:10:25 bird Exp $ */
     1/* $Id: wndmsg.cpp,v 1.21 2004-03-12 16:48:17 sandervl Exp $ */
    22/*
    33 * Win32 window message text function for OS/2
     
    792792        else    dprintf2(("SendMessage%c %s for %x %x %x", unicode, GetMsgText(Msg), hwnd, wParam, lParam));
    793793  }
    794 //testestest
    795   if(Msg == WM_NOTIFY && (hwnd == 0x6800000a || hwnd == 0x6800000c)) {
    796       LPNMLISTVIEW pHdr = (LPNMLISTVIEW)lParam;
    797       dprintf(("WM_NOTIFY %x %x %x", pHdr->hdr.hwndFrom, pHdr->hdr.idFrom, pHdr->hdr.code));
    798   }
    799 //testestest
    800794}
    801795
Note: See TracChangeset for help on using the changeset viewer.