Changeset 25949 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/commctrl.h
- Timestamp:
- Jan 21, 2010 9:26:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/commctrl.h
r21731 r25949 1783 1783 #define TTTOOLINFOW_V1_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lpszText) 1784 1784 #define TTTOOLINFO_V1_SIZE CCSIZEOF_STRUCT(WINELIB_NAME_AW(TTTOOLINFO), lpszText) 1785 #define TTTOOLINFOA_V2_SIZE CCSIZEOF_STRUCT(TTTOOLINFOA, lParam) 1786 #define TTTOOLINFOW_V2_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lParam) 1787 #define TTTOOLINFOA_V3_SIZE CCSIZEOF_STRUCT(TTTOOLINFOA, lpReserved) 1788 #define TTTOOLINFOW_V3_SIZE CCSIZEOF_STRUCT(TTTOOLINFOW, lpReserved) 1785 1789 1786 1790 typedef struct _TT_HITTESTINFOA … … 3019 3023 #define LVSIL_SMALL 1 3020 3024 #define LVSIL_STATE 2 3025 #define LVSIL_GROUPHEADER 3 3021 3026 3022 3027 /* following 2 flags only for LVS_OWNERDATA listviews */ … … 3026 3031 3027 3032 3028 #define LVFI_PARAM 0X0001 3029 #define LVFI_STRING 0X0002 3030 #define LVFI_PARTIAL 0X0008 3031 #define LVFI_WRAP 0X0020 3032 #define LVFI_NEARESTXY 0X0040 3033 #define LVFI_PARAM 0x0001 3034 #define LVFI_STRING 0x0002 3035 #define LVFI_SUBSTRING 0x0004 3036 #define LVFI_PARTIAL 0x0008 3037 #define LVFI_WRAP 0x0020 3038 #define LVFI_NEARESTXY 0x0040 3033 3039 3034 3040 #define LVIF_TEXT 0x0001 … … 4270 4276 #define TCN_LAST (0U-580U) 4271 4277 #define TCN_KEYDOWN (TCN_FIRST - 0) 4272 #define TCN_SELCHANGE 4278 #define TCN_SELCHANGE (TCN_FIRST - 1) 4273 4279 #define TCN_SELCHANGING (TCN_FIRST - 2) 4274 4280 #define TCN_GETOBJECT (TCN_FIRST - 3) 4281 #define TCN_FOCUSCHANGE (TCN_FIRST - 4) 4275 4282 4276 4283 #include <pshpack1.h> … … 4675 4682 #define MCS_NOTODAY 0x0010 4676 4683 #define MCS_NOTODAYCIRCLE 0x0008 4684 #define MCS_NOTRAILINGDATES 0x0040 4677 4685 4678 4686 #define MCHT_TITLE 0x00010000 … … 4710 4718 UINT uHit; 4711 4719 SYSTEMTIME st; 4720 /* Vista */ 4721 RECT rc; 4722 INT iOffset; 4723 INT iRow; 4724 INT iCol; 4712 4725 } MCHITTESTINFO, *PMCHITTESTINFO; 4726 4727 #define MCHITTESTINFO_V1_SIZE CCSIZEOF_STRUCT(MCHITTESTINFO, st) 4713 4728 4714 4729 typedef struct tagNMSELCHANGE … … 4734 4749 4735 4750 #define MonthCal_GetCurSel(hmc, pst) \ 4736 (BOOL)SNDMSG A(hmc, MCM_GETCURSEL, 0, (LPARAM)(pst))4751 (BOOL)SNDMSG(hmc, MCM_GETCURSEL, 0, (LPARAM)(pst)) 4737 4752 #define MonthCal_SetCurSel(hmc, pst) \ 4738 (BOOL)SNDMSG A(hmc, MCM_SETCURSEL, 0, (LPARAM)(pst))4753 (BOOL)SNDMSG(hmc, MCM_SETCURSEL, 0, (LPARAM)(pst)) 4739 4754 #define MonthCal_GetMaxSelCount(hmc) \ 4740 (DWORD)SNDMSG A(hmc, MCM_GETMAXSELCOUNT, 0, 0L)4755 (DWORD)SNDMSG(hmc, MCM_GETMAXSELCOUNT, 0, 0L) 4741 4756 #define MonthCal_SetMaxSelCount(hmc, n) \ 4742 (BOOL)SNDMSG A(hmc, MCM_SETMAXSELCOUNT, (WPARAM)(n), 0L)4757 (BOOL)SNDMSG(hmc, MCM_SETMAXSELCOUNT, (WPARAM)(n), 0L) 4743 4758 #define MonthCal_GetSelRange(hmc, rgst) \ 4744 SNDMSG A(hmc, MCM_GETSELRANGE, 0, (LPARAM) (rgst))4759 SNDMSG(hmc, MCM_GETSELRANGE, 0, (LPARAM) (rgst)) 4745 4760 #define MonthCal_SetSelRange(hmc, rgst) \ 4746 SNDMSG A(hmc, MCM_SETSELRANGE, 0, (LPARAM) (rgst))4761 SNDMSG(hmc, MCM_SETSELRANGE, 0, (LPARAM) (rgst)) 4747 4762 #define MonthCal_GetMonthRange(hmc, gmr, rgst) \ 4748 (DWORD)SNDMSG A(hmc, MCM_GETMONTHRANGE, (WPARAM)(gmr), (LPARAM)(rgst))4763 (DWORD)SNDMSG(hmc, MCM_GETMONTHRANGE, (WPARAM)(gmr), (LPARAM)(rgst)) 4749 4764 #define MonthCal_SetDayState(hmc, cbds, rgds) \ 4750 SNDMSG A(hmc, MCM_SETDAYSTATE, (WPARAM)(cbds), (LPARAM)(rgds))4765 SNDMSG(hmc, MCM_SETDAYSTATE, (WPARAM)(cbds), (LPARAM)(rgds)) 4751 4766 #define MonthCal_GetMinReqRect(hmc, prc) \ 4752 SNDMSG A(hmc, MCM_GETMINREQRECT, 0, (LPARAM)(prc))4767 SNDMSG(hmc, MCM_GETMINREQRECT, 0, (LPARAM)(prc)) 4753 4768 #define MonthCal_SetColor(hmc, iColor, clr)\ 4754 SNDMSG A(hmc, MCM_SETCOLOR, iColor, clr)4769 SNDMSG(hmc, MCM_SETCOLOR, iColor, clr) 4755 4770 #define MonthCal_GetColor(hmc, iColor) \ 4756 SNDMSG A(hmc, MCM_SETCOLOR, iColor, 0)4771 SNDMSG(hmc, MCM_SETCOLOR, iColor, 0) 4757 4772 #define MonthCal_GetToday(hmc, pst)\ 4758 (BOOL)SNDMSG A(hmc, MCM_GETTODAY, 0, (LPARAM)pst)4773 (BOOL)SNDMSG(hmc, MCM_GETTODAY, 0, (LPARAM)pst) 4759 4774 #define MonthCal_SetToday(hmc, pst)\ 4760 SNDMSG A(hmc, MCM_SETTODAY, 0, (LPARAM)pst)4775 SNDMSG(hmc, MCM_SETTODAY, 0, (LPARAM)pst) 4761 4776 #define MonthCal_HitTest(hmc, pinfo) \ 4762 SNDMSG A(hmc, MCM_HITTEST, 0, (LPARAM)(PMCHITTESTINFO)pinfo)4777 SNDMSG(hmc, MCM_HITTEST, 0, (LPARAM)(PMCHITTESTINFO)pinfo) 4763 4778 #define MonthCal_SetFirstDayOfWeek(hmc, iDay) \ 4764 SNDMSG A(hmc, MCM_SETFIRSTDAYOFWEEK, 0, iDay)4779 SNDMSG(hmc, MCM_SETFIRSTDAYOFWEEK, 0, iDay) 4765 4780 #define MonthCal_GetFirstDayOfWeek(hmc) \ 4766 (DWORD)SNDMSG A(hmc, MCM_GETFIRSTDAYOFWEEK, 0, 0)4781 (DWORD)SNDMSG(hmc, MCM_GETFIRSTDAYOFWEEK, 0, 0) 4767 4782 #define MonthCal_GetRange(hmc, rgst) \ 4768 (DWORD)SNDMSG A(hmc, MCM_GETRANGE, 0, (LPARAM)(rgst))4783 (DWORD)SNDMSG(hmc, MCM_GETRANGE, 0, (LPARAM)(rgst)) 4769 4784 #define MonthCal_SetRange(hmc, gd, rgst) \ 4770 (BOOL)SNDMSG A(hmc, MCM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst))4785 (BOOL)SNDMSG(hmc, MCM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst)) 4771 4786 #define MonthCal_GetMonthDelta(hmc) \ 4772 (int)SNDMSG A(hmc, MCM_GETMONTHDELTA, 0, 0)4787 (int)SNDMSG(hmc, MCM_GETMONTHDELTA, 0, 0) 4773 4788 #define MonthCal_SetMonthDelta(hmc, n) \ 4774 (int)SNDMSG A(hmc, MCM_SETMONTHDELTA, n, 0)4789 (int)SNDMSG(hmc, MCM_SETMONTHDELTA, n, 0) 4775 4790 #define MonthCal_GetMaxTodayWidth(hmc) \ 4776 (DWORD)SNDMSG A(hmc, MCM_GETMAXTODAYWIDTH, 0, 0)4791 (DWORD)SNDMSG(hmc, MCM_GETMAXTODAYWIDTH, 0, 0) 4777 4792 #define MonthCal_SetUnicodeFormat(hwnd, fUnicode) \ 4778 (BOOL)SNDMSG A((hwnd), MCM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0)4793 (BOOL)SNDMSG((hwnd), MCM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0) 4779 4794 #define MonthCal_GetUnicodeFormat(hwnd) \ 4780 (BOOL)SNDMSG A((hwnd), MCM_GETUNICODEFORMAT, 0, 0)4795 (BOOL)SNDMSG((hwnd), MCM_GETUNICODEFORMAT, 0, 0) 4781 4796 4782 4797 … … 4938 4953 4939 4954 #define DateTime_GetSystemtime(hdp, pst) \ 4940 (DWORD)SNDMSG A(hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst))4955 (DWORD)SNDMSG (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst)) 4941 4956 #define DateTime_SetSystemtime(hdp, gd, pst) \ 4942 (BOOL)SNDMSG A(hdp, DTM_SETSYSTEMTIME, (LPARAM)(gd), (LPARAM)(pst))4957 (BOOL)SNDMSG (hdp, DTM_SETSYSTEMTIME, (LPARAM)(gd), (LPARAM)(pst)) 4943 4958 #define DateTime_GetRange(hdp, rgst) \ 4944 (DWORD)SNDMSG A(hdp, DTM_GETRANGE, 0, (LPARAM)(rgst))4959 (DWORD)SNDMSG (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst)) 4945 4960 #define DateTime_SetRange(hdp, gd, rgst) \ 4946 (BOOL)SNDMSG A(hdp, DTM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst))4961 (BOOL)SNDMSG (hdp, DTM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst)) 4947 4962 #define DateTime_SetFormatA(hdp, sz) \ 4948 4963 (BOOL)SNDMSGA (hdp, DTM_SETFORMATA, 0, (LPARAM)(sz)) … … 4951 4966 #define DateTime_SetFormat WINELIB_NAME_AW(DateTime_SetFormat) 4952 4967 #define DateTime_GetMonthCalColor(hdp, iColor) \ 4953 SNDMSG A(hdp, DTM_GETMCCOLOR, iColor, 0)4968 SNDMSG (hdp, DTM_GETMCCOLOR, iColor, 0) 4954 4969 #define DateTime_SetMonthCalColor(hdp, iColor, clr) \ 4955 SNDMSG A(hdp, DTM_SETMCCOLOR, iColor, clr)4970 SNDMSG (hdp, DTM_SETMCCOLOR, iColor, clr) 4956 4971 #define DateTime_GetMonthCal(hdp) \ 4957 (HWND) SNDMSG A(hdp, DTM_GETMONTHCAL, 0, 0)4972 (HWND) SNDMSG (hdp, DTM_GETMONTHCAL, 0, 0) 4958 4973 #define DateTime_SetMonthCalFont(hdp, hfont, fRedraw) \ 4959 SNDMSG A(hdp, DTM_SETMCFONT, (WPARAM)hfont, (LPARAM)fRedraw)4974 SNDMSG (hdp, DTM_SETMCFONT, (WPARAM)hfont, (LPARAM)fRedraw) 4960 4975 #define DateTime_GetMonthCalFont(hdp) \ 4961 SNDMSG A(hdp, DTM_GETMCFONT, 0, 0)4976 SNDMSG (hdp, DTM_GETMCFONT, 0, 0) 4962 4977 4963 4978 #define DA_LAST (0x7fffffff) … … 5016 5031 #endif 5017 5032 5033 /* SysLink styles */ 5034 #define LWS_TRANSPARENT 0x0001 5035 #define LWS_IGNORERETURN 0x0002 5036 5018 5037 /* SysLink messages */ 5019 5038 #define LM_HITTEST (WM_USER + 768) … … 5117 5136 5118 5137 /************************************************************************** 5119 * List 5138 * Listbox control 5120 5139 */ 5121 5140 … … 5131 5150 5132 5151 /************************************************************************** 5133 * Scroll 5152 * Scrollbar control 5134 5153 */ 5135 5154
Note:
See TracChangeset
for help on using the changeset viewer.