http://bugs.winehq.org/show_bug.cgi?id=34977
--- Comment #3 from zippy gohabsgo60@yahoo.ca 2013-11-22 15:33:42 CST --- i think i've isolated the problem. after the CBT hook is called 5 times with nCode == HCBT_CREATEWND (once for the dialog + 4 times for its child controls), windows xp calls it with
nCode == HCBT_SETFOCUS (for the "yes" button) and nCode == HCBT_ACTIVATE (for the dialog)
the last 2 calls don't happen on wine. WinDjView doesn't care about HCBT_SETFOCUS, but it does rely on the HCBT_ACTIVATE call in order to perform the dialog's custom initialization.
another difference between wine and windows xp is that after creating the dialog and its children, the winedebug log says that wine creates 8 extra windows and then promptly destroys them. i don't know if this is by design or a bug.