From 1f7fc9724be8c9502f196b1c5d1a0800d841dadf Mon Sep 17 00:00:00 2001 From: Reece H. Dunn Date: Sat, 26 Jan 2008 08:49:09 +0000 Subject: [PATCH] comctl32: Vista sends an unidentified message when destroying datetime and monthcal windows. --- dlls/comctl32/tests/datetime.c | 2 ++ dlls/comctl32/tests/monthcal.c | 3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/tests/datetime.c b/dlls/comctl32/tests/datetime.c index d13abc6..a46b32d 100644 --- a/dlls/comctl32/tests/datetime.c +++ b/dlls/comctl32/tests/datetime.c @@ -112,6 +112,7 @@ static const struct message test_dtm_set_range_swap_min_max_seq[] = { static const struct message test_dtm_set_and_get_system_time_seq[] = { { DTM_SETSYSTEMTIME, sent|wparam, 0x00000001 }, + { 0x0090, sent|optional }, /* Vista */ { WM_DESTROY, sent|wparam|lparam, 0x00000000, 0x00000000 }, { WM_NCDESTROY, sent|wparam|lparam, 0x00000000, 0x00000000 }, { DTM_SETSYSTEMTIME, sent|wparam, 0x00000001 }, @@ -125,6 +126,7 @@ static const struct message test_dtm_set_and_get_system_time_seq[] = { }; static const struct message destroy_window_seq[] = { + { 0x0090, sent|optional }, /* Vista */ { WM_DESTROY, sent|wparam|lparam, 0x00000000, 0x00000000 }, { WM_NCDESTROY, sent|wparam|lparam, 0x00000000, 0x00000000 }, { 0 } diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index 7fe2bd7..13f78ae 100644 --- a/dlls/comctl32/tests/monthcal.c +++ b/dlls/comctl32/tests/monthcal.c @@ -280,6 +280,7 @@ static const struct message destroy_monthcal_parent_msgs_seq[] = { /* expected message sequence for child*/ static const struct message destroy_monthcal_child_msgs_seq[] = { + { 0x0090, sent|optional }, /* Vista */ { WM_SHOWWINDOW, sent|wparam|lparam, 0, 0}, { WM_WINDOWPOSCHANGING, sent|wparam, 0}, { WM_WINDOWPOSCHANGED, sent|wparam, 0}, @@ -289,6 +290,7 @@ static const struct message destroy_monthcal_child_msgs_seq[] = { }; static const struct message destroy_monthcal_multi_sel_style_seq[] = { + { 0x0090, sent|optional }, /* Vista */ { WM_DESTROY, sent|wparam|lparam, 0, 0}, { WM_NCDESTROY, sent|wparam|lparam, 0, 0}, { 0 } @@ -296,6 +298,7 @@ static const struct message destroy_monthcal_multi_sel_style_seq[] = { /* expected message sequence for parent window*/ static const struct message destroy_parent_seq[] = { + { 0x0090, sent|optional }, /* Vista */ { WM_WINDOWPOSCHANGING, sent|wparam, 0}, { WM_WINDOWPOSCHANGED, sent|wparam, 0}, { WM_NCACTIVATE, sent|wparam|lparam, 0, 0}, -- 1.5.3.5