Looks simple, but on Windows 7-64 (and only there) the caption is not displayed properly. Works fine on XP and Win10, no problem with Chinese or Arabic, no problem for the MessageBox text, but a cyrillic caption on Windows 7-64 shows little squares instead of "Это подпись" (meaning "this is a caption").
Code: Select all
MessageBoxW(0, "Это текст MessageBox", "Это подпись", MB_OK)
There is a workaround: It displays fine with a Unicode BOM added.
Anybody around running Win7 who could confirm this behaviour? I would like to know if it's a general Windows 7 bug, or if it's limited to my machine, with an Italian Windows version.