Posted on 07-09-2013
Filed Under (Technology) by bigbang

I am building my application using MFC Dialog application framework. I have printed logs in my output window by using TRACE. Now I want to print my logs on my Dialog, for example, in an Edit box or list box.

If we can transport the logs printed by TRACE into this control on my Dialog, it will be wonderful!

The list box is best for this. Make sure you turn off its ‘Sort’ property so the strings will be displayed in the order you add them. Call the list box AddString to add each line.

© 2013, The Big Bang on Reading Busy. All rights reserved.
On republishing this post you must provide link to the original post.

Post a Comment
Name:
Email:
Website:
Comments: