Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Aric Stewart
Hi Dimi, I have been doing some work on OWNERDATA listviews with Outlook and have found something with my test programs. Even if i create a Dialog with DialogBoxW to contain the listview, and return NFR_UNICODE for WM_NOTIFYFORMAT my windows 2000 box still calls notifies with

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Dimitrie O. Paun
On November 21, 2002 10:19 am, Aric Stewart wrote: I wondered if you had found a counter example in your own tests, or if you had just assumed that windows would act rationally. If it was an assumption then I will happily make a patch that mimic the behavior of my test program. If you have

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Aric Stewart
Here is a patch which preserves alot of your structure. it works to correct my bug in Outlook. -aric Dimitrie O. Paun wrote: On November 21, 2002 10:19 am, Aric Stewart wrote: I wondered if you had found a counter example in your own tests, or if you had just assumed that windows would act

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Dimitrie O. Paun
On November 21, 2002 11:33 am, Aric Stewart wrote: Here is a patch which preserves alot of your structure. it works to correct my bug in Outlook. Wow! It's hard to believe this is the case... WTF is this so? I mean, did you find a reasonable explanation to this behaviour? Did you have a chance

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Aric Stewart
Yeah it is sort of amazing. I have a test program under windows if you would like to see the Visual studio project. It has _UNICODE defined in the project, I create a main window with CreateWindowW Inside that window i do a DialogBoxW. That dialog box has a listview which is OWNERDATA. I look

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Dustin Navea
On Thu, 2002-11-21 at 11:13, Aric Stewart wrote: Yeah it is sort of amazing. I have a test program under windows if you would like to see the Visual studio project. It has _UNICODE defined in the project, I create a main window with CreateWindowW Inside that window i do a DialogBoxW. That

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Dimitrie O. Paun
On November 21, 2002 06:27 am, Dustin Navea wrote: Do you think that this patch will fix my treeview problem(s)? Or should the same sort of thing be done to treeview as a test to see if it will? Yes, the same sort of patch should be done for treeview. I'll try to do one soon. -- Dimi.

Re: Listview WM_NOTIFYFORMAT and LVN_GETDISPINFO

2002-11-21 Thread Dimitrie O. Paun
On November 21, 2002 12:13 pm, Aric Stewart wrote: i tried all sorts of variations on the W and A creations to see if i saw any difference and I did not. Also this patch fixes the bug in Outlook... Yes. And beyond this, it correlates perfectly with the treeview problems we have been