How is this going to work with global variable?
Well, it's just a first implementation, I removed the global variables in later patchsets. But I'll rewrite it to store the taskdialog-data using dialog functions.
For that please use msg.h from comctl32/tests.
I'd love to, but I'm not sure how this would work. After all, the message lists for the taskdialogs use a different struct with additional values, like the return value it should give, and a sync value. I agree that the current way isn't too elegant, how would you go about that?
Regards, Fabian Maurer