This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "StdAfx.h"
#include "MainDialog.h"
#include "LegacyDialog.h"
#include "ProgressDialog.h"
#include "TaskDialog.h"
#include "VistaTools.h"
CMainDialog* CMainDialog::Create(HINSTANCE instance)
{
CMainDialog *result = NULL;
/*
We wont hide cancel button.
Vista uses task dialog, I was not able to find
the way to hide all buttons on TaskDialog.
if (IsVista())
result = new CTaskDialog(instance);
else
*/
result = new CProgressDialog(instance);
result->SetCancelVisible(false);
return result;
}