Windows Task Dialog Example

//task control demo
#include <windows.h>
#include <commctrl.h>
#pragma comment(lib, "comctl32.lib") //adds link to control control DLL
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
int APIENTRY WinMain( HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow )
{
TaskDialog(NULL, NULL, L"A simple task dialogue example",L"Click OK to close", NULL, TDCBF_OK_BUTTON ,TD_WARNING_ICON, NULL);

return 0;
}