Calling the TaskDialog in Vista a simple MessageBox replacement that has an extra text field does not do it justice, but you do get a helper function to make it just that. In my last post I showed two version of the same dialog, one using a TaskDialog and one using a MessageBox. The code for these is here:TaskDialog(hWnd, hInst, L"Vista Test Application", L"Error opening file \"data.txt\"", L"Access was denied.", TDCBF_OK_BUTTON | TDCBF_CANCEL_BUTTON, TD_INFORMATION_ICON, &buttonPressed);
MessageBox(hWnd, L"Error opening file \"data.txt\": Access was denied.", L"Vista Test Application", MB_OKCANCEL|MB_ICONEXCLAMATION);
As you can see the two calls are very similar, the only massive diffence being...