views:

32

answers:

1

I have noticed that the Windows Vista/7 dialogs look MUCH better than just a MessageBox. How can I use them with a P/Invoke?

+2  A: 

You're looking for the TaskDialogIndirect method.

You can also use the Windows API Code Pack, which contains a managed wrapper.

SLaks
What assembly is it in?
Mohit Deshpande
"Minimum DLL Version comctl32.dll version 6"
Pindatjuh
@Pindatjuh: He asked that before I edited in the link. Obviously, it requires Vista.
SLaks