[?? Probable Spam] user32.dll Add redraw and WM_WINDOWPOS* notifications to SetActiveWindow 
dmitry at baikal.ru
Wed May 11 21:08:09 CDT 2005
"Vitaliy Margolen" <wine-patch at kievinfo.com> wrote:
> According to native messages sent to app we should redraw window
> inside SetActiveWindow.
If you have a test app then it should be converted into a Wine message
test, there is no other way to prove that your patch is correct.
> @@ -152,7 +232,7 @@ static BOOL set_active_window( HWND hwnd
> if (IsWindow(hwnd))
> - SendMessageW( hwnd, WM_NCACTIVATE, (hwnd == GetForegroundWindow()), (LPARAM)previous );
> + SendMessageW( hwnd, WM_NCACTIVATE, TRUE, (LPARAM)previous );
Active and foreground windows in win32 are not necessary the same window.
More information about the wine-devel