2 #ifndef _INC_COMMCTRL_WINE 3 #define _INC_COMMCTRL_WINE 5 #define DPA_GetPtr DPA_GetPtr_wine_hack 6 #define FlatSB_SetScrollProp FlatSB_SetScrollProp_wine_hack 8 #if (_WIN32_IE < 0x501) 10 #define _WIN32_IE 0x0501 22 #undef FlatSB_SetScrollProp 25 #define DRAGLISTMSGSTRINGA "commctrl_DragListMsg" 27 # define DRAGLISTMSGSTRINGW (const WCHAR []){ 'c','o','m','m','c','t','r','l', \ 28 '_','D','r','a','g','L','i','s','t','M','s','g',0 } 29 #elif defined(_MSC_VER) 30 # define DRAGLISTMSGSTRINGW L"commctrl_DragListMsg" 33 '_',
'D',
'r',
'a',
'g',
'L',
'i',
's',
't',
'M',
's',
'g',0 };
36 #define ListView_InsertItemA(hwnd,pitem) \ 37 (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem)) 38 #define ListView_InsertItemW(hwnd,pitem) \ 39 (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem)) 42 #define SNDMSGA ::SendMessageA 43 #define SNDMSGW ::SendMessageW 45 #define SNDMSGA SendMessageA 46 #define SNDMSGW SendMessageW 49 #define FLATSB_CLASSA "flatsb_class32" 51 # define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \ 52 'c','l','a','s','s','3','2',0 } 53 #elif defined(_MSC_VER) 54 # define FLATSB_CLASSW L"flatsb_class32" 57 'c',
'l',
'a',
's',
's',
'3',
'2',0 };
65 #define SB_SETBORDERS (WM_USER+5) 82 #define LPNMLVDISPINFO WINELIB_NAME_AW(LPNMLVDISPINFO) 85 #define TB_UNKWN45D (WM_USER+93) 86 #define TB_UNKWN464 (WM_USER+100) 88 #define TreeView_GetItemA(hwnd, pitem) \ 89 (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem)) 91 #define TreeView_InsertItemA(hwnd, phdi) \ 92 (HTREEITEM)SNDMSGA((hwnd), TVM_INSERTITEMA, 0, \ 93 (LPARAM)(LPTVINSERTSTRUCTA)(phdi)) 95 #define TreeView_SetItemA(hwnd, pitem) \ 96 (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))
static const WCHAR DRAGLISTMSGSTRINGW[]
#define FlatSB_SetScrollProp
TBSAVEPARAMSW * LPTBSAVEPARAMSW
static const WCHAR FLATSB_CLASSW[]
LVFINDINFOA * LPLVFINDINFOA
LVFINDINFOW * LPLVFINDINFOW