https://bugs.winehq.org/show_bug.cgi?id=55841
--- Comment #36 from Fabian Maurer dark.shadow4@web.de --- Okay, so in comdlg32 the Properties button is defined with ID 0x401. But lotus approach passes its own dialog template, where the ID is 0x400 instead.
So inside PRINTDLG_WMCommandA we don't go into this case:
case psh2: /* Properties button */
If you go to PRINTDLG_GetDlgTemplateA and prevent it from going into the "lppd->Flags & PD_ENABLEPRINTTEMPLATE" else if, then the button works, since it loads the comdlg32 template.
The template is defined in appresen.dll, id 32657
When you edit that template to make the button have id 1025 (0x401) it works in wine, and keeps working on windows.
I tested more ids: 1023 (1 before first control), 1030, 1039, 1040 They all fail on windows.