comctl32: don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style.

Reece Dunn msclrhd at googlemail.com
Sun Jan 25 06:42:04 CST 2009


Internet Explorer 7 generates a fixme for an unknown extended style
0x80 (TBSTYLE_EX_DOUBLEBUFFER). This style is known (i.e. it is in
commctrl.h and in the unimplemented styles at the top of toolbar.c),
but is not in the known extended style list.

Also, removed the '???' from the documentation, as that is what this
style does (http://msdn.microsoft.com/en-us/library/bb760430(VS.85).aspx).

- Reece
-------------- next part --------------
From 017680134bfa89c30e0d358b9b38316b5a15a433 Mon Sep 17 00:00:00 2001
From: Reece Dunn <msclrhd at gmail.com>
Date: Sun, 25 Jan 2009 12:37:06 +0000
Subject: [PATCH] comctl32: don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style.

---
 dlls/comctl32/toolbar.c |    1 +
 include/commctrl.h      |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index fb2745f..d991ea1 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -225,6 +225,7 @@ typedef enum
 #define TBSTYLE_EX_ALL (TBSTYLE_EX_DRAWDDARROWS | \
                         TBSTYLE_EX_UNDOC1 | \
                         TBSTYLE_EX_MIXEDBUTTONS | \
+                        TBSTYLE_EX_DOUBLEBUFFER | \
                         TBSTYLE_EX_HIDECLIPPEDBUTTONS)
 
 /* all of the CCS_ styles */
diff --git a/include/commctrl.h b/include/commctrl.h
index 426d70a..b055bee 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1099,7 +1099,7 @@ static const WCHAR TOOLBARCLASSNAMEW[] = { 'T','o','o','l','b','a','r',
 #define TBSTYLE_EX_UNDOC1               0x00000004 /* similar to TBSTYLE_WRAPABLE */
 #define TBSTYLE_EX_MIXEDBUTTONS         0x00000008
 #define TBSTYLE_EX_HIDECLIPPEDBUTTONS   0x00000010 /* don't show partially obscured buttons */
-#define TBSTYLE_EX_DOUBLEBUFFER         0x00000080 /* Double Buffer the toolbar ??? */
+#define TBSTYLE_EX_DOUBLEBUFFER         0x00000080 /* Double Buffer the toolbar */
 
 #define TBIF_IMAGE              0x00000001
 #define TBIF_TEXT               0x00000002
-- 
1.5.6.3


More information about the wine-patches mailing list