Kai Morich mail@kai-morich.de writes:
is it realy neccessary to clone a writable dialog template only for changing the dialog style ? wouldn't it be simpler to somehow pass the information that the dialog is part of a property sheet to DIALOG_CreateIndirect, e.g. by setting some wine specific information on the dialog owner hwnd ?
Yes, we clearly need to avoid copying the template. It should be possible to either set the style after the window is created, or trap the WM_CREATE or WM_INITDIALOG message and change the style there.