Nikolay Sivov : user32/tests: Test to show that caption added for WS_EX_LAYERED as well.

Alexandre Julliard julliard at winehq.org
Wed Feb 24 10:21:32 CST 2010


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Feb 23 13:18:26 2010 -0500

user32/tests: Test to show that caption added for WS_EX_LAYERED as well.

---

 dlls/user32/tests/win.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index cd83749..03ff8f5 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -3424,6 +3424,14 @@ static void test_window_styles(void)
     check_window_style(WS_CHILD, WS_EX_DLGMODALFRAME|WS_EX_STATICEDGE, WS_CHILD, WS_EX_STATICEDGE|WS_EX_WINDOWEDGE|WS_EX_DLGMODALFRAME);
     check_window_style(WS_CAPTION, WS_EX_STATICEDGE, WS_CLIPSIBLINGS|WS_CAPTION, WS_EX_STATICEDGE|WS_EX_WINDOWEDGE);
     check_window_style(0, WS_EX_APPWINDOW, WS_CLIPSIBLINGS|WS_CAPTION, WS_EX_APPWINDOW|WS_EX_WINDOWEDGE);
+
+    if (pGetLayeredWindowAttributes)
+    {
+        check_window_style(0, WS_EX_LAYERED, WS_CLIPSIBLINGS|WS_CAPTION, WS_EX_LAYERED|WS_EX_WINDOWEDGE);
+        check_window_style(0, WS_EX_LAYERED|WS_EX_TRANSPARENT, WS_CLIPSIBLINGS|WS_CAPTION, WS_EX_LAYERED|WS_EX_TRANSPARENT|WS_EX_WINDOWEDGE);
+        check_window_style(0, WS_EX_LAYERED|WS_EX_TRANSPARENT|WS_EX_TOOLWINDOW, WS_CLIPSIBLINGS|WS_CAPTION,
+                                                      WS_EX_LAYERED|WS_EX_TRANSPARENT|WS_EX_TOOLWINDOW|WS_EX_WINDOWEDGE);
+    }
 }
 
 static void test_scrollwindow( HWND hwnd)




More information about the wine-cvs mailing list