OK I would like to know this once and for all, how can I create ‘vista-style’ controls from within .NET? I am using .NET 3.5 SP1.
The most important control I am attempting to spawn is the new enhanced message dialog which looks like this:
alt text http://i.msdn.microsoft.com/Aa511268.Dialogs23a(en-us,MSDN.10).png
I am attempting to follow guidelines laid down here (http://msdn.microsoft.com/en-us/library/aa511268.aspx) but I find Microsoft is very good at laying down the guidelines, but not with explaining how to use or access these.
Any information on how to create the message dialog and the plethora of other controls which are new to vista would be greatly appreciated. I would also be interested to know how Windows XP reacts if you attempt to spawn one of these controls.
I am aware of one control named TaskDialog but again I do not know how to get started with using this in .NET and to my knowledge, it is not the control in use in the screenshot.
Update: After further research, I believe TaskDialog might be what I am after – does anybody have code samples of this running within .NET?
To get the really cool dialogs like provided in the UAC you need to some native calls. http://www.pinvoke.net is a great resource for this information.
Update: These are all really good examples for TaskDialog.