Q:

Best way to display XML in MFC?

I'm trying to display a XML-File which I read with MSXML Getxml() into a CString
I tried to display the string in a CListBox, but my CListBox will display it like:

but I would like to have real line breaks instead of this squares!
but the XML i read is formatted well with CR/LF:

May CListBox isn't the right Method to display a XML?
Or do i have to replace CR/LF?

A:

I think is better to use a multiline CEdit, or a RichEdit. 

A:

There is a web-browser control and you can use this, if you need nice formatting of your XML. Please refer here

