Update about dialog

This commit is contained in:
Grayson Riffe 2023-10-15 23:22:58 -05:00
parent 417551a132
commit 65f3269d0b

View File

@ -230,9 +230,11 @@ namespace wc {
return TRUE;
}
case ID_HELP_ABOUT:
MessageBox(dlg, std::format(L"{} {}\nGrayson Riffe 2023", app->m_appName, app->m_appVersion).c_str(), L"About", MB_OK);
case ID_HELP_ABOUT: {
std::wstring aboutStr = L"{} {}\nCopyright Grayson Riffe 2023\ngraysonriffe.com";
MessageBox(dlg, std::vformat(aboutStr, std::make_wformat_args(app->m_appName, app->m_appVersion)).c_str(), L"About", MB_OK);
return TRUE;
}
case IDC_BUTTONEXIT:
case ID_FILE_EXIT: