https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5ddec3d9449425abdc846…
commit 5ddec3d9449425abdc846fb6c44caf9f038b163e
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 26 22:51:35 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Oct 26 22:51:35 2019 +0100
[PSDK] Update commctrl.h. CORE-16441
---
sdk/include/psdk/commctrl.h | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/sdk/include/psdk/commctrl.h b/sdk/include/psdk/commctrl.h
index 9c997410838..942d07c0883 100644
--- a/sdk/include/psdk/commctrl.h
+++ b/sdk/include/psdk/commctrl.h
@@ -242,9 +242,20 @@ extern "C" {
#define WMN_LAST (0U-1200U)
#endif
+#define BCSIF_GLYPH 0x00000001
+#define BCSIF_IMAGE 0x00000002
+#define BCSIF_STYLE 0x00000004
+#define BCSIF_SIZE 0x00000008
+
+#define BCSS_STRETCH 0x00000002
+#define BCSS_IMAGE 0x00000008
+
#define BCN_FIRST (0U-1250U)
#define BCN_LAST (0U-1350U)
+#define BCN_HOTITEMCHANGE (BCN_FIRST + 1)
+#define BCN_DROPDOWN (BCN_FIRST + 2)
+
#define MSGF_COMMCTRL_BEGINDRAG 0x4200
#define MSGF_COMMCTRL_SIZEHEADER 0x4201
#define MSGF_COMMCTRL_DRAGSELECT 0x4202
@@ -910,6 +921,19 @@ extern "C" {
#endif /* !NOHEADER */
+typedef struct tagBUTTON_SPLITINFO {
+ UINT mask;
+ HIMAGELIST himlGlyph;
+ UINT uSplitStyle;
+ SIZE size;
+} BUTTON_SPLITINFO, *PBUTTON_SPLITINFO;
+
+typedef struct tagNMBCDROPDOWN {
+ NMHDR hdr;
+ RECT rcButton;
+} NMBCDROPDOWN;
+
+
#ifndef NOTOOLBAR
#define TOOLBARCLASSNAMEW L"ToolbarWindow32"
@@ -4625,6 +4649,9 @@ typedef struct {
#define BCM_SETSHIELD (BCM_FIRST+0xC)
#define Button_SetElevationRequiredState(hwnd,frequired)
(BOOL)SNDMSG((hwnd),BCM_SETSHIELD,0,(LPARAM)(frequired))
+#define BCM_SETDROPDOWNSTATE (BCM_FIRST + 6)
+#define BCM_SETSPLITINFO (BCM_FIRST + 7)
+#define BCM_GETSPLITINFO (BCM_FIRST + 8)
#define BCM_SETNOTE (BCM_FIRST + 9)
#define BCM_GETNOTE (BCM_FIRST + 10)
#define BCM_GETNOTELENGTH (BCM_FIRST + 11)
@@ -4634,8 +4661,6 @@ typedef struct {
DWORD dwFlags;
} NMBCHOTITEM,*LPNMBCHOTITEM;
-#define BCN_HOTITEMCHANGE (BCN_FIRST+0x1)
-
#define BST_HOT 0x200
#define BS_SPLITBUTTON 0x0000000C