[ui] fix notification dialog messages being truncated

* We now auto resize the height of the Notification dialog according to the
  number of lines of the message.
* Also harmonize local RECT variable names according to what we do elsewhere.
This commit is contained in:
Pete Batard 2018-06-08 13:02:39 +01:00
parent 645184f11e
commit d6e6f46029
4 changed files with 61 additions and 43 deletions

View file

@ -2972,7 +2972,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
case WM_COMMAND:
#ifdef RUFUS_TEST
if (LOWORD(wParam) == IDC_TEST) {
ToggleImageSettings("blah.iso");
Notification(MSG_ERROR, NULL, lmprintf(MSG_042), lmprintf(MSG_043, lmprintf(MSG_055)));
break;
}
#endif