Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencommctrl.h
Go to the documentation of this file.
00001 00002 #ifndef _INC_COMMCTRL_WINE 00003 #define _INC_COMMCTRL_WINE 00004 00005 #define DPA_GetPtr DPA_GetPtr_wine_hack 00006 #define FlatSB_SetScrollProp FlatSB_SetScrollProp_wine_hack 00007 00008 #if (_WIN32_IE < 0x501) 00009 #undef _WIN32_IE 00010 #define _WIN32_IE 0x0501 00011 #endif 00012 00013 #include <psdk/commctrl.h> 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 #undef DPA_GetPtr 00020 LPVOID WINAPI DPA_GetPtr(HDPA, INT); 00021 00022 #undef FlatSB_SetScrollProp 00023 BOOL WINAPI FlatSB_SetScrollProp(HWND, UINT, INT, BOOL); 00024 00025 #define DRAGLISTMSGSTRINGA "commctrl_DragListMsg" 00026 #if defined(__GNUC__) 00027 # define DRAGLISTMSGSTRINGW (const WCHAR []){ 'c','o','m','m','c','t','r','l', \ 00028 '_','D','r','a','g','L','i','s','t','M','s','g',0 } 00029 #elif defined(_MSC_VER) 00030 # define DRAGLISTMSGSTRINGW L"commctrl_DragListMsg" 00031 #else 00032 static const WCHAR DRAGLISTMSGSTRINGW[] = { 'c','o','m','m','c','t','r','l', 00033 '_','D','r','a','g','L','i','s','t','M','s','g',0 }; 00034 #endif 00035 00036 #define ListView_InsertItemA(hwnd,pitem) \ 00037 (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem)) 00038 #define ListView_InsertItemW(hwnd,pitem) \ 00039 (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem)) 00040 00041 #ifdef __cplusplus 00042 #define SNDMSGA ::SendMessageA 00043 #define SNDMSGW ::SendMessageW 00044 #else 00045 #define SNDMSGA SendMessageA 00046 #define SNDMSGW SendMessageW 00047 #endif 00048 00049 #define FLATSB_CLASSA "flatsb_class32" 00050 #if defined(__GNUC__) 00051 # define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \ 00052 'c','l','a','s','s','3','2',0 } 00053 #elif defined(_MSC_VER) 00054 # define FLATSB_CLASSW L"flatsb_class32" 00055 #else 00056 static const WCHAR FLATSB_CLASSW[] = { 'f','l','a','t','s','b','_', 00057 'c','l','a','s','s','3','2',0 }; 00058 #endif 00059 00060 typedef TBSAVEPARAMSW *LPTBSAVEPARAMSW; 00061 00062 typedef LVFINDINFOA *LPLVFINDINFOA; 00063 typedef LVFINDINFOW *LPLVFINDINFOW; 00064 00065 #define SB_SETBORDERS (WM_USER+5) 00066 #define TBSTYLE_EX_UNDOC1 0x00000004 /* similar to TBSTYLE_WRAPABLE */ 00067 00068 /* these are undocumented and the names are guesses */ 00069 typedef struct 00070 { 00071 NMHDR hdr; 00072 HWND hwndDialog; 00073 } NMTBINITCUSTOMIZE; 00074 00075 typedef struct 00076 { 00077 NMHDR hdr; 00078 INT idNew; 00079 INT iDirection; /* left is -1, right is 1 */ 00080 DWORD dwReason; /* HICF_* */ 00081 } NMTBWRAPHOTITEM; 00082 00083 #define LPNMLVDISPINFO WINELIB_NAME_AW(LPNMLVDISPINFO) 00084 00085 /* undocumented messages in Toolbar */ 00086 #define TB_UNKWN45D (WM_USER+93) 00087 #define TB_UNKWN464 (WM_USER+100) 00088 00089 #ifdef __cplusplus 00090 } 00091 #endif 00092 00093 #endif /* _INC_COMMCTRL_WINE */ Generated on Sun May 27 2012 04:31:10 for ReactOS by
1.7.6.1
|