2 * Common controls definitions
5 #ifndef __WINE_COMMCTRL_H
6 #define __WINE_COMMCTRL_H
10 void WINAPI
InitCommonControls(void);
14 #define STATUSCLASSNAME16 "msctls_statusbar"
15 #define STATUSCLASSNAME32A "msctls_statusbar32"
16 #define STATUSCLASSNAME32W "msctls_statusbar32"
17 #define STATUSCLASSNAME WINELIB_NAME_AW(STATUSCLASSNAME)
19 #define SB_SETTEXT32A (WM_USER+1)
20 #define SB_SETTEXT32W (WM_USER+11)
21 #define SB_SETTEXT WINELIB_NAME_AW(SB_SETTEXT)
22 #define SB_GETTEXT32A (WM_USER+2)
23 #define SB_GETTEXT32W (WM_USER+13)
24 #define SB_GETTEXT WINELIB_NAME_AW(SB_GETTEXT)
25 #define SB_GETTEXTLENGTH32A (WM_USER+3)
26 #define SB_GETTEXTLENGTH32W (WM_USER+12)
27 #define SB_GETTEXTLENGTH WINELIB_NAME_AW(SB_GETTEXTLENGTH)
29 #define SB_SETPARTS (WM_USER+4)
30 #define SB_GETPARTS (WM_USER+6)
31 #define SB_GETBORDERS (WM_USER+7)
32 #define SB_SETMINHEIGHT (WM_USER+8)
33 #define SB_SIMPLE (WM_USER+9)
34 #define SB_GETRECT (WM_USER+10)
36 #define SBT_NOBORDERS 0x0100
37 #define SBT_POPOUT 0x0200
38 #define SBT_RTLREADING 0x0400
39 #define SBT_OWNERDRAW 0x1000
41 #define CCS_BOTTOM 0x0003
42 #define SBARS_SIZEGRIP 0x0100
46 #define UPDOWN_CLASS32A "msctls_updown32"
47 #define UPDOWN_CLASS32W L"msctls_updown32"
48 #define UPDOWN_CLASS16 "msctls_updown"
49 #define UPDOWN_CLASS WINELIB_NAME_AW(UPDOWN_CLASS)
51 typedef struct tagUDACCEL
57 #define UD_MAXVAL 0x7fff
58 #define UD_MINVAL 0x8001
60 #define UDS_WRAP 0x0001
61 #define UDS_SETBUDDYINT 0x0002
62 #define UDS_ALIGNRIGHT 0x0004
63 #define UDS_ALIGNLEFT 0x0008
64 #define UDS_AUTOBUDDY 0x0010
65 #define UDS_ARROWKEYS 0x0020
66 #define UDS_HORZ 0x0040
67 #define UDS_NOTHOUSANDS 0x0080
69 #define UDN_FIRST (0U-721)
70 #define UDN_DELTAPOS (UDN_FIRST-1)
72 #define UDM_SETRANGE (WM_USER+101)
73 #define UDM_GETRANGE (WM_USER+102)
74 #define UDM_SETPOS (WM_USER+103)
75 #define UDM_GETPOS (WM_USER+104)
76 #define UDM_SETBUDDY (WM_USER+105)
77 #define UDM_GETBUDDY (WM_USER+106)
78 #define UDM_SETACCEL (WM_USER+107)
79 #define UDM_GETACCEL (WM_USER+108)
80 #define UDM_SETBASE (WM_USER+109)
81 #define UDM_GETBASE (WM_USER+110)
85 #define PROGRESS_CLASS32A "msctls_progress32"
86 #define PROGRESS_CLASS32W L"msctls_progress32"
87 #define PROGRESS_CLASS16 "msctls_progress"
89 #define PROGRESS_CLASS WINELIB_NAME_AW(PROGRESS_CLASS)
91 #define PBM_SETRANGE (WM_USER+1)
92 #define PBM_SETPOS (WM_USER+2)
93 #define PBM_DELTAPOS (WM_USER+3)
94 #define PBM_SETSTEP (WM_USER+4)
95 #define PBM_STEPIT (WM_USER+5)
97 /* Functions prototypes */
99 HWND32 WINAPI
CreateStatusWindow32A(INT32
,LPCSTR
,HWND32
,UINT32
);
100 HWND32 WINAPI
CreateStatusWindow32W(INT32
,LPCWSTR
,HWND32
,UINT32
);
101 #define CreateStatusWindow WINELIB_NAME_AW(CreateStatusWindow)
102 HWND32 WINAPI
CreateUpDownControl(DWORD
,INT32
,INT32
,INT32
,INT32
,
103 HWND32
,INT32
,HINSTANCE32
,HWND32
,
105 VOID WINAPI
DrawStatusText32A(HDC32
,LPRECT32
,LPCSTR
,UINT32
);
106 VOID WINAPI
DrawStatusText32W(HDC32
,LPRECT32
,LPCWSTR
,UINT32
);
107 #define DrawStatusText WINELIB_NAME_AW(DrawStatusText)
109 #endif /* __WINE_COMMCTRL_H */