Seems I was mistaken :)
A simple program (listed below) compiled with mingw's gcc works fine - std::cerr do nothing if ran by double clicking it while outputing to file if ran as test0.exe 2>err.txt in cmd's prompt.
If it works so with others compilers to, it is easy to implement such thing by redirecting stderr to one of tabs below editor window.
Nevertheless this feature seems be reasonable even if program do not work well with all compilers, as most programs use its stderr fo logging debug info :)
Code (filename test0.cpp)
#include <iostream>
#include <sstream>
#include <typeinfo>
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) {
std::stringstream l_str;
l_str << std::cerr.rdstate() << " : ";
std::basic_streambuf<char>* l_strbuf = std::cerr.rdbuf();
l_str << static_cast<void*>(l_strbuf) << " : ";
l_str << typeid(l_strbuf).name() << " : ";
std::cerr << "before MessageBox()" << std::endl;
MessageBoxA(NULL, l_str.str().c_str(), "std::cerr status", MB_OK);
std::cerr << "after MessageBox()" << std::endl;
}
PS: "Preview" button stopped working - it redirect me to index page of c::b site