https://bugs.winehq.org/show_bug.cgi?id=57259
--- Comment #5 from Zhiyi Zhang zzhang@codeweavers.com --- (In reply to Fabian Maurer from comment #2)
Problem is in the line
taskdialog_get_button_size(dialog_info->command_links[i], dialog_width - x - h_spacing, &size);
It sends the message "BCM_GETIDEALSIZE" which goes down into "default_window_proc", the message never being handled. So the value for cy remains 0.
Also, for some reason the buttons don't render as long as they have the "BS_COMMANDLINK" style.
Zhiyi: Since you made the taskdialog, would you mind taking a look?
No problem. I will take a look when I have time.