52 lines
1.6 KiB
C
52 lines
1.6 KiB
C
/*
|
|
* Common controls definitions
|
|
*/
|
|
|
|
#ifndef __WINE_COMMCTRL_H
|
|
#define __WINE_COMMCTRL_H
|
|
|
|
#include "windows.h"
|
|
|
|
void InitCommonControls(void);
|
|
|
|
/* StatusWindow */
|
|
|
|
#define STATUSCLASSNAME16 "msctls_statusbar"
|
|
#define STATUSCLASSNAME32A "msctls_statusbar32"
|
|
#define STATUSCLASSNAME32W "msctls_statusbar32"
|
|
#define STATUSCLASSNAME WINELIB_NAME_AW(STATUSCLASSNAME)
|
|
|
|
#define SB_SETTEXT32A (WM_USER+1)
|
|
#define SB_SETTEXT32W (WM_USER+11)
|
|
#define SB_SETTEXT WINELIB_NAME_AW(SB_SETTEXT)
|
|
#define SB_GETTEXT32A (WM_USER+2)
|
|
#define SB_GETTEXT32W (WM_USER+13)
|
|
#define SB_GETTEXT WINELIB_NAME_AW(SB_GETTEXT)
|
|
#define SB_GETTEXTLENGTH32A (WM_USER+3)
|
|
#define SB_GETTEXTLENGTH32W (WM_USER+12)
|
|
#define SB_GETTEXTLENGTH WINELIB_NAME_AW(SB_GETTEXTLENGTH)
|
|
|
|
#define SB_SETPARTS (WM_USER+4)
|
|
#define SB_GETPARTS (WM_USER+6)
|
|
#define SB_GETBORDERS (WM_USER+7)
|
|
#define SB_SETMINHEIGHT (WM_USER+8)
|
|
#define SB_SIMPLE (WM_USER+9)
|
|
#define SB_GETRECT (WM_USER+10)
|
|
|
|
#define SBT_NOBORDERS 0x0100
|
|
#define SBT_POPOUT 0x0200
|
|
#define SBT_RTLREADING 0x0400
|
|
#define SBT_OWNERDRAW 0x1000
|
|
|
|
#define CCS_BOTTOM 0x0003
|
|
#define SBARS_SIZEGRIP 0x0100
|
|
|
|
HWND32 CreateStatusWindow32A(INT32,LPCSTR,HWND32,UINT32);
|
|
HWND32 CreateStatusWindow32W(INT32,LPCWSTR,HWND32,UINT32);
|
|
#define CreateStatusWindow WINELIB_NAME_AW(CreateStatusWindow)
|
|
VOID DrawStatusText32A(HDC32,LPRECT32,LPCSTR,UINT32);
|
|
VOID DrawStatusText32W(HDC32,LPRECT32,LPCWSTR,UINT32);
|
|
#define DrawStatusText WINELIB_NAME_AW(DrawStatusText)
|
|
|
|
#endif /* __WINE_COMMCTRL_H */
|