http://bugs.winehq.org/show_bug.cgi?id=34977
--- Comment #4 from zippy gohabsgo60@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 :)