Change startup error button to IDCANCEL, enabling the user to close the TaskDialog instead
This commit is contained in:
@@ -845,7 +845,7 @@ ui_init(int nCmdShow)
|
|||||||
RECT sbar_rect; /* RECT of the status bar */
|
RECT sbar_rect; /* RECT of the status bar */
|
||||||
int bRet;
|
int bRet;
|
||||||
TASKDIALOGCONFIG tdconfig = {0};
|
TASKDIALOGCONFIG tdconfig = {0};
|
||||||
TASKDIALOG_BUTTON tdbuttons[] = {{IDOK, MAKEINTRESOURCE(IDS_2119)}};
|
TASKDIALOG_BUTTON tdbuttons[] = {{IDCANCEL, MAKEINTRESOURCE(IDS_2119)}};
|
||||||
|
|
||||||
/* Set up TaskDialog configuration. */
|
/* Set up TaskDialog configuration. */
|
||||||
tdconfig.cbSize = sizeof(tdconfig);
|
tdconfig.cbSize = sizeof(tdconfig);
|
||||||
|
Reference in New Issue
Block a user