Make LoadIcon error message more clear
parent
46c5a0c226
commit
3ee5ef0205
|
@ -54,7 +54,7 @@ void IconList::addIcon(int iconID, int cx, int cy, int failIconID) const
|
|||
int userAnswer = 0;
|
||||
if (!ignoreWarning)
|
||||
{
|
||||
userAnswer = ::MessageBoxA(NULL, "IconList::addIcon : LoadIcon() function return null.\nIgnore warning?", std::to_string(iconID).c_str(), MB_YESNOCANCEL | MB_ICONWARNING);
|
||||
userAnswer = ::MessageBoxA(NULL, "IconList::addIcon : LoadIcon() function return null.\nIgnore the error?\n\n\"Yes\": ignore the error and launch Notepad++\n\"No\": Quit Notepad++\n\"Cancel\": display all errors", std::to_string(iconID).c_str(), MB_YESNOCANCEL | MB_ICONWARNING);
|
||||
ignoreWarning = userAnswer == IDYES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue