According to this post, I tried to include a new line in a MessageBox like below:
std::wstring msg = "Text here" + Environment.NewLine + "some other text";
MessageBox(nullptr, msg.c_str(), L"Hello World!", MB_ICONINFORMATION);
But compiler generated the error:
E0020: identifier "Environment" is undefined
I tried including <windows.system.h>
, but it did nothing.
Project type: C++ ATL
Thanks in Advance.