- Add defines needed by explorer-new. Fixes build.
authorAleksey Bragin <aleksey@reactos.org>
Sat, 7 Nov 2009 20:18:04 +0000 (20:18 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 7 Nov 2009 20:18:04 +0000 (20:18 +0000)
svn path=/trunk/; revision=44019

reactos/include/psdk/commctrl.h

index 07488ff..7a40cbc 100644 (file)
@@ -1596,6 +1596,25 @@ CreateMappedBitmap (HINSTANCE, INT_PTR, UINT, LPCOLORMAP, INT);
 # define TOOLTIPS_CLASSW        L"tooltips_class32"
 #define TOOLTIPS_CLASS          WINELIB_NAME_AW(TOOLTIPS_CLASS)
 
+#if (_WIN32_WINNT >= 0x501)
+#define BUTTON_IMAGELIST_ALIGN_LEFT 0
+#define BUTTON_IMAGELIST_ALIGN_RIGHT 1
+#define BUTTON_IMAGELIST_ALIGN_TOP 2
+#define BUTTON_IMAGELIST_ALIGN_BOTTOM 3
+#define BUTTON_IMAGELIST_ALIGN_CENTER 4
+
+typedef struct
+{
+    HIMAGELIST himl;
+    RECT margin;
+    UINT uAlign;
+} BUTTON_IMAGELIST, *PBUTTON_IMAGELIST;
+
+#define BCM_FIRST   0x1600
+#define BCM_GETIDEALSIZE    (BCM_FIRST + 1)
+#define BCM_SETIMAGELIST    (BCM_FIRST + 2)
+#endif /* _WIN32_WINNT */
+
 #define INFOTIPSIZE             1024
 
 #define TTS_ALWAYSTIP           0x01