Re: commctrl.h (+ other headers) patch
"Luke Dunstan" <[email protected]> Tue, 26 Aug 2003 09:03:53 +0800
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
It is mentioned here: http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/listview/messages/lvm_finditem.asp It may have been a mistake in MSDN but some code may use it so I don't see the harm in adding it. The name "LPLVFINDINFO" is more consistent than "LPFINDINFO" anyway. Luke ----- Original Message ----- From: "Filip Navara" <xnavara-VIXq6x/[email protected]> To: <[email protected]> Sent: Monday, August 25, 2003 7:53 PM Subject: Re: [MinGW-patches] commctrl.h (+ other headers) patch > > ----- Original Message ----- > From: "Danny Smith" <[email protected]> > To: <[email protected]> > Sent: Monday, August 25, 2003 5:45 AM > Subject: Re: [MinGW-patches] commctrl.h (+ other headers) patch > > > > Where is LPLVFINDINFO{AW} documented? > > Ah nowhere :(, just another Wineism. I will submit patch to Wine. > FiN > > > > > Danny > > > > > > ----- Original Message ----- > > From: "Filip Navara" <xnavara-VIXq6x/[email protected]> > > To: <[email protected]> > > Sent: Monday, 25 August 2003 03:04 > > Subject: Re: [MinGW-patches] commctrl.h (+ other headers) patch > > > > > > > > > > This part of commctrl.h patch is missing: > > > > > > @@ -1862,7 +2296,7 @@ > > > LPARAM lParam; > > > POINT pt; > > > UINT vkDirection; > > > -} LVFINDINFOA, FAR* LPFINDINFOA; > > > +} LVFINDINFOA, FAR* LPFINDINFOA, FAR* LPLVFINDINFOA; > > > #define _LV_FINDINFOA tagLVFINDINFOA > > > #define LV_FINDINFOA LVFINDINFOA > > > typedef struct tagLVFINDINFOW { > > > @@ -1871,7 +2305,7 @@ > > > LPARAM lParam; > > > POINT pt; > > > UINT vkDirection; > > > -} LVFINDINFOW, FAR* LPFINDINFOW; > > > +} LVFINDINFOW, FAR* LPFINDINFOW, FAR* LPLVFINDINFOW; > > > #define _LV_FINDINFOW tagLVFINDINFOW > > > #define LV_FINDINFOW LVFINDINFOW > > > typedef struct _LVHITTESTINFO { > > > > > > > > > The rest is OK. > > > > > > Thanks > > > FiN > > > > > > ----- Original Message ----- > > > From: "Danny Smith" <[email protected]> > > > To: <[email protected]> > > > Sent: Monday, August 25, 2003 3:42 AM > > > Subject: Re: [MinGW-patches] commctrl.h (+ other headers) patch > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Filip Navara" > > > > > It took me a good hour to revisit the patch and fix all mine > > _WIN32_IE > > > > > detections. I also tried to avoid the reordering, it was caused by > > my > > > > > attemps to guess some values. The attachment contains my diff > > against > > > > the > > > > > CVS and also my updated (with push/poppack) Video For Windows > > header. > > > > Next > > > > > time I will double-check my patches before submit. > > > > > > > > > > > > > I have commited > > > > 2003-08-25 Filip Navara <[email protected]> > > > > > > > > * include/commctrl.h (ILCF_*): Add defines. > > > > (ILD_*): Ditto. > > > > (HDS_*); Ditto. > > > > (IPN_FIRST, IPN_LAST): Cast to UINT. > > > > (SBN_FIRST, SBN_LAST): Add defines. > > > > (PGN_*): Ditto. > > > > (HDF_JUSTIFYMASK): Fix typo. > > > > (HDM_*): Add defines. > > > > (HICF_*): Ditto. > > > > (I_INDENTCALLBACK,I_IMAGENONE): Ditto. > > > > (TBSTATE_MARKED): Add define. > > > > (TBSTYLE_EX_*): Add defines. > > > > (TBCDRF_*): Ditto. > > > > (IDB_HIST_SMALL_COLOR,IDB_HIST_LARGE_COLOR): Ditto. > > > > (TB_*): Ditto. > > > > (TBN_*): Ditto. > > > > (TBNRF_*): Ditto. > > > > (TTF_*): Ditto. > > > > (TBCD_*): Ditto. > > > > (TBDDRET_*): Ditto. > > > > (TBIMHT_*): Ditto. > > > > (TTM_*): Ditto. > > > > (UDM_*): Ditto. > > > > (TBIF_BYINDEX): Define as hex constant. > > > > (CDIS_*): Add defines. > > > > (CDDS_SUBITEM): Add define. > > > > (LVIF_*): Add defines. > > > > (LVM_*): Ditto. > > > > (LVGIT_UNFOLDED): Add define. > > > > (TVM_): Add defines. > > > > (TVE_EXPANDPARTIAL): Add define. > > > > (TVGN_LASTVISIBLE): Ditto. > > > > (TVN_*): Add defines. > > > > (TVNRET_*): Add defines. > > > > (TCIF_STATE): Add define. > > > > (NM_TOOLTIPSCREATED): Ditto. > > > > (CCM_*): Add defines. > > > > (INFOTIPSIZE): Add numeric value. > > > > (ODT_LISTVIEW): Ditto. > > > > (MCM_GETMAXTODAYWIDTH): Ditto. > > > > (MCHT_*): Add defines. > > > > (UDM_SETRANGE32,UDM_GETRANGE32): Define in terms of WM_USER. > > > > (PGF_*): Add defines. > > > > (PGM_*): Ditto. > > > > (TBINSERTMARK): Add structure. > > > > (LPIMAGEINFO) Add typedef. > > > > (LPHDHITTESTINFO): Ditto. > > > > (NMLVGETINFOTIP[AW]: Add structures. > > > > (NMTBCUSTOMDRAW): Add structure. > > > > (TTTOOLINFOA_V*_SIZE): Add macros. > > > > (TTTOOLINFOW_V1_SIZE): Ditto. > > > > (IMAGELISTDRAWPARAMS): Add new members for WXP. > > > > (LVITEM[AW]: Ditto. > > > > (TCITEM[AW]):Ditto. > > > > (CCSIZEOF_STRUCT): Correct macro definition. > > > > (ListView_*): Add new macros. > > > > (HIMAGELIST): Correct typedef. > > > > (HTREEITEM): Ditto. > > > > > > > > 2003-08-25 Danny Smith <[email protected]> > > > > > > > > * commctrl.h (TC_HITTESTINFO): Remove. Add defines for > > > > TCHITTESTINFO for backward compatibility. > > > > (TC_ITEM[AW]): Rename to TCITEM[AW]. Add defines for backward > > > > compatibility. > > > > > > > > 2003-08-24 Filip Navara <[email protected]> > > > > > > > > * include/prsht.h (PSH_WIZARDHASFINISH, PSH_WIZARD_LITE, > > > > PSH_NOCONTEXTHELP): Define. > > > > (PSH_WIZARD97): Fix definition for _WIN32_IE >= 0x500. > > > > * include/winuser.h (DFCS_TRANSPARENT, DFCS_HOT): Define. > > > > (LPDLGTEMPLATE[AW]): Add typedefs. > > > > > > > > Please check with your test harness to see what I've missed out or > > > > mucked up. > > > > Danny > > > > > > > > > > > > > Sorry > > > > > FiN ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0