Add RTL capability to localized msgbox function

Fix #8699, close #8701
pull/8713/head
Scott Sumner 4 years ago committed by Don HO
parent 394f762d6b
commit 03eebf8496

@ -1320,5 +1320,9 @@ int NativeLangSpeaker::messageBox(const char *msgBoxTagName, HWND hWnd, const TC
title = stringReplace(title, TEXT("$STR_REPLACE$"), strInfo);
msg = stringReplace(msg, TEXT("$STR_REPLACE$"), strInfo);
}
if (_isRTL)
{
msgBoxType |= MB_RTLREADING | MB_RIGHT;
}
return ::MessageBox(hWnd, msg.c_str(), title.c_str(), msgBoxType);
}

Loading…
Cancel
Save