Re: Listview report mode tweaks #2

2002-12-20 Thread Dimitrie O. Paun
On December 20, 2002 01:02 pm, Duane Clark wrote: > So the only fix to LISTVIEW_GetSubItemRect that remains is to change the > offset that is applied. This looks great. Another small nit: +if (!(uFormat & (DT_RIGHT | DT_CENTER))) +{ +if (himl && lvItem.iImage >= 0 && !IsRectEmpty(&

Re: Listview report mode tweaks

2002-12-20 Thread Duane Clark
Dimitrie O. Paun wrote: On December 19, 2002 07:48 pm, Duane Clark wrote: I also altered LISTVIEW_GetSubItemRect so that it reports correct values, as compared against WinNT on ControlSpy. Problem is that LISTVIEW_GetSubItemRect is documented to return same thing for LVIR_LABEL and LVIR_BOUND

Re: Listview report mode tweaks

2002-12-19 Thread Dimitrie O. Paun
On December 19, 2002 07:48 pm, Duane Clark wrote: > I also altered LISTVIEW_GetSubItemRect so that it reports correct > values, as compared against WinNT on ControlSpy. Problem is that LISTVIEW_GetSubItemRect is documented to return same thing for LVIR_LABEL and LVIR_BOUNDS. Of course, incorrect d