shell32/tests: Fix a test on Win2k platform and above.

Nicolas Le Cam niko.lecam at
Wed Mar 18 13:34:48 CDT 2009

2009/3/18 Vincent Povirk <madewokherd+8cd9 at>:
> On Wed, Mar 18, 2009 at 11:46 AM, Nicolas Le Cam <niko.lecam at> wrote:
>> Message notification comes from appbar3, I've checked hwnd handles.
>> When calling last ABM_REMOVE there's no more appbars so Wine shouldn't
>> send any notifications, if it does the broken macro (that will come
>> with try2) will catch that.
> The window notified with ABN_POSCHANGED is never the window that
> caused the notification. When a window is removed, every other window
> gets a notification so it knows to update its position.
> The test is just getting that notification late. This is not broken.
> Vincent Povirk
Ok, did more testing ...
It seems you're right, adding a do_events() call after each
DestroyWindow() one seems to fix the test on Win2k.
Do you think this is a better fix ?

Nicolas Le Cam

More information about the wine-devel mailing list