[Bug 34977] WinDjView: missing checkbox in the set as default viewer dialog

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 22 21:49:43 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34977

--- Comment #4 from zippy <gohabsgo60 at yahoo.ca> 2013-11-22 21:49:43 CST ---
please ignore my previous comment, the CBT hook calls with nCode ==
HCBT_SETFOCUS and nCode == HCBT_ACTIVATE are indeed made on wine.

the real source of the problem is this line inside the hook: 

HWND hwndMessage = GetDlgItem(hwndMessageBox, 0xFFFF);

WinDjView expects the message box's static text control to have ID 0xFFFF,
which seems to be one of those "undocumented standards". the call fails because
wine gives the control a different id (0x64 last time i checked).

fwiw, the message box's icon also has a different id on wine (0x440) and
windows xp (0x14). the yes and no buttons have the correct ids, obviously :)

-- 
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