Hi @Alien
there are several issues
-
in CPython3 the special
Nonekeyword can be used as attribute (or enum)
you can replace
dialog.DefaultButton = TaskDialogResult.None
by
dialog.DefaultButton = getattr(TaskDialogResult, "None") -
then will come an overload problem, you can look at this topic for more information