http://bugs.winehq.org/show_bug.cgi?id=5491
------- Additional Comments From florianskarten@web.de 2007-25-02 13:18 ------- I compared two logs, and found out, that SendMessage is called in both version twice with TCM_GETIMAGELIST as message.
With the native Version more calls are made in SendMessage for some reason.
In a test with a modified wine comctl32, I found out that TAB_WindowProc is never called with TCM_GETIMAGELIST as message.
So the question I ask myself is: Why does it make a difference for a SendMessage call with TCM_GETIMAGELIST as message, if I use a native comctl32.dll or a builtin?
with native dll: "+seh,+reley,+snoop=comctl32"
000b:Call user32.SendMessageA(00030084,00001303,00000000,02aa3170) ret=00431a96 000b:Call window proc 0x5d47de7d (hwnd=0x30084,msg=TCM_GETIMAGELIST,wp=00000000, lp=02aa3170) 000b:Call user32.GetWindowLongW(00030084,00000000) ret=5d47de93 000b:Ret user32.GetWindowLongW() retval=02a8fd58 ret=5d47de93 000b:Call user32.GetClientRect(00030084,0034e1c8) ret=5d4808d2 000b:Ret user32.GetClientRect() retval=00000001 ret=5d4808d2 000b:Call user32.IsRectEmpty(0034e1c8) ret=5d480905 000b:Ret user32.IsRectEmpty() retval=00000001 ret=5d480905 000b:Call user32.RedrawWindow(00030084,00000000,00000000,00000005) ret=5d4813aa 000b:Ret user32.RedrawWindow() retval=00000001 ret=5d4813aa 000b:Ret window proc 0x5d47de7d (hwnd=0x30084,msg=TCM_GETIMAGELIST,wp=00000000, lp=02aa3170) retval=00000000 000b:Ret user32.SendMessageA() retval=00000000 ret=00431a96
with builtin dll: "+seh,+reley"
000b:Call user32.SendMessageA(00030084,00001303,00000000,02975558) ret=00431a96 000b:Call window proc 0x7e6c4640 (hwnd=0x30084,msg=TCM_GETIMAGELIST,wp=00000000, lp=02975558) 000b:Call user32.GetWindowLongW(00030084,00000000) ret=7e6c4693 000b:Ret user32.GetWindowLongW() retval=029753c8 ret=7e6c4693 000b:Ret window proc 0x7e6c4640 (hwnd=0x30084,msg=TCM_GETIMAGELIST,wp=00000000, lp=02975558) retval=00000000 000b:Ret user32.SendMessageA() retval=00000000 ret=00431a96