Release 970525
[wine/multimedia.git] / include / commctrl.h
bloba16e7bfbf5931b7773da2d2129b063f784bf8d71
1 /*
2 * Common controls definitions
3 */
5 #ifndef __WINE_COMMCTRL_H
6 #define __WINE_COMMCTRL_H
8 #include "windows.h"
10 void InitCommonControls(void);
12 /* StatusWindow */
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
44 HWND32 CreateStatusWindow32A(INT32,LPCSTR,HWND32,UINT32);
45 HWND32 CreateStatusWindow32W(INT32,LPCWSTR,HWND32,UINT32);
46 #define CreateStatusWindow WINELIB_NAME_AW(CreateStatusWindow)
47 VOID DrawStatusText32A(HDC32,LPRECT32,LPCSTR,UINT32);
48 VOID DrawStatusText32W(HDC32,LPRECT32,LPCWSTR,UINT32);
49 #define DrawStatusText WINELIB_NAME_AW(DrawStatusText)
51 #endif /* __WINE_COMMCTRL_H */