How to ouput text information next to image?

I have an application which ouput opengl graphics into a MFC window(using WGL). But I also want to output some text information next to the graphics(like std::cout, printf, which does seem to work). Any easy way to do this? Thank you.

If you want to have std::cout etc print in a separate console window, this page describes how you can do that.