Reece H. Dunn : comctl32: Vista sends an unidentified message when destroying datetime and monthcal windows .

Alexandre Julliard julliard at winehq.org
Thu Feb 7 07:59:34 CST 2008


Module: wine
Branch: master
Commit: 743a63abc9da21f7ece76089d569f40cb3df86d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=743a63abc9da21f7ece76089d569f40cb3df86d3

Author: Reece H. Dunn <msclrhd at gmail.com>
Date:   Sat Jan 26 08:49:09 2008 +0000

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 73c7af3..76fdccc 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 d33f07c..c056ede 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},




More information about the wine-cvs mailing list