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.

File:
1 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    {
Note: See TracChangeset for help on using the changeset viewer.