Wednesday, November 14, 2007

AVTD (Another Vista TaskDialog) - Vista TaskDialog Wrapper and Emulator

CodeProject - Vista TaskDialog Wrapper and Emulator

comparison1

"...

Basically, I wanted a class which would wrap the TaskDialog so that on a Vista machine it would invoke the native TaskDialog in COMCTL32.dll v6 (which ships with Vista), while on pre-vista machines it would emulate the TaskDialog with a near identical substitute.
Massive credit must go to KevinGre for his superb article "TaskDialog for Winforms" which wraps the COMCTL32 TaskDialog API. The only changes made to his code were as follows :-

[1] Prefixed class/enum/struct names with "VistaXxxx" (e.g. "TaskDialog" -> "VistaTaskDialog") for the sake of clarity

[2] Implemented the bug fix for x64 machines mentioned in the comments section at the bottom of his article

This project takes Kevin's work a step further, in that the TaskDialog is no longer restricted to Windows Vista. You can now use the same code to display a TaskDialog without worrying about the Windows version.

..."

I have serious TaskDialog envy and really want to use it on pre-Vista projects so I've been keeping my eyes open for them. This one looks pretty darn complete and I like that on Vista it "goes native"...

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...