[Bug 8522] tabbed control captures mouse input even when it shouldn't
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Dec 14 16:37:29 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=8522
--- Comment #10 from Vitaliy Margolen <vitaliy at kievinfo.com> 2008-12-14 16:37:29 ---
The reason it "captures" mouse input - tab control is being extended down too
far. And it's overlapping buttons.
Something like this fixes the problem but breaks apps that don't embed
propsheet into dialogs (eg winecfg):
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -799,7 +799,7 @@ static BOOL PROPSHEET_AdjustSize(HWND hwndDlg,
PropSheetInfo* psInfo)
TRACE("tab client rc %s\n", wine_dbgstr_rect(&rc));
rc.right += ((padding.x * 2) + tabOffsetX);
- rc.bottom += (buttonHeight + (3 * padding.y) + tabOffsetY);
+ rc.bottom += buttonHeight + (3 * padding.y);
/*
* Resize the property sheet.
I still don't exactly understand how exactly this program embedding propsheet
control into dialog. It's c++ and using some MFC magic.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list