--- "Dimitrie O. Paun" dpaun@rogers.com wrote:
Dustin, Adrian, can you please try this one, and let me know if it fixes your problems?
ChangeLog Fix some treeview notification codes between ANSI/Unicode mode.
Another sidenote...
in TREEVIEW_NotifyFormat shouldnt (lParam == NF_REQUERY) be (lParam == NF_QUERY) and change the corresponding line in TREEVIEW_Create since that is the original query? I have already searched throughout the sources and the only place that TREEVIEW_NotifyFormat is called is in treeview.c in TREEVIEW_Create ...
-Dustin
__________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/
On October 31, 2002 11:32 pm, Dustin Navea wrote:
in TREEVIEW_NotifyFormat shouldnt (lParam == NF_REQUERY) be (lParam == NF_QUERY) and change the corresponding line in TREEVIEW_Create since that is the original query?
No, the code seems to be OK as it is now. Does this hack fix your problem?
Index: dlls/comctl32/treeview.c =================================================================== RCS file: /var/cvs/wine/dlls/comctl32/treeview.c,v retrieving revision 1.108 diff -u -r1.108 treeview.c --- dlls/comctl32/treeview.c 31 Oct 2002 00:54:53 -0000 1.108 +++ dlls/comctl32/treeview.c 1 Nov 2002 05:31:50 -0000 @@ -5045,7 +5045,7 @@ i); i = NFR_ANSI; } - infoPtr->bNtfUnicode = (i == NFR_UNICODE) ? 1 : 0; + infoPtr->bNtfUnicode = 0; return (LRESULT)i; } return (LRESULT)((infoPtr->bNtfUnicode) ? NFR_UNICODE : NFR_ANSI);
I have already searched throughout the sources and the only place that TREEVIEW_NotifyFormat is called is in treeview.c in TREEVIEW_Create ...
Search again, it's called from the WindowProc as well (line 5339). What do you use to search?!? :)