Author: fireball
Date: Sat Nov 7 21:18:04 2009
New Revision: 44019
URL:
http://svn.reactos.org/svn/reactos?rev=44019&view=rev
Log:
- Add defines needed by explorer-new. Fixes build.
Modified:
trunk/reactos/include/psdk/commctrl.h
Modified: trunk/reactos/include/psdk/commctrl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/commctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/commctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/commctrl.h [iso-8859-1] Sat Nov 7 21:18:04 2009
@@ -1595,6 +1595,25 @@
#define TOOLTIPS_CLASSA "tooltips_class32"
# 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