Evil wrote:
Dreamweaver's "Add Site" (and other) dialog are completely broken when
using the built-in comctl32.
OK, there is a patch that is in CrossOver that has not yet been
committed to WineHQ for some reason, that fixes this problem.
This was known way before I ever started using WINE (because I learned
of it by searching old mailing lists). I even added it to the app
database months back.
Could you please try the attached patch?
I fear that Wine doesn't go forward as much as it should for lack of
testing :/
Mike
Index: dlls/comctl32/tab.c
===================================================================
RCS file: /home/mike/src/wine-cvs/wine/dlls/comctl32/tab.c,v
retrieving revision 1.114
diff -u -p -r1.114 tab.c
--- dlls/comctl32/tab.c 11 Aug 2005 18:35:00 -0000 1.114
+++ dlls/comctl32/tab.c 19 Aug 2005 02:18:21 -0000
@@ -329,7 +329,18 @@ static BOOL TAB_InternalGetItemRect(
if ( (infoPtr->uNumItem <= 0) ||
(itemIndex >= infoPtr->uNumItem) ||
(!((lStyle & TCS_MULTILINE) || (lStyle & TCS_VERTICAL)) && (itemIndex < infoPtr->leftmostVisible)) )
- return FALSE;
+ {
+ TRACE("Not Visible\n");
+ /* need to initialize these to empty rects */
+ if (itemRect)
+ {
+ memset(itemRect,0,sizeof(RECT));
+ itemRect->bottom = infoPtr->tabHeight;
+ }
+ if (selectedRect)
+ memset(selectedRect,0,sizeof(RECT));
+ return FALSE;
+ }
/*
* Avoid special cases in this procedure by assigning the "out"