Hello friends,
I create ListBox using MFC, in which I want to display the Output (like Visual c++ IDE debug windowor Output window).
I create a button after that it starts processing and ready to display the output.
I used
m_ListBoxResult.AddString(strlineCount); like that for all the functions and so on.. there will be lot of output.
Everything works fine but It displays everything after all the process done.
while processing nothing is displayed.
Its not working in runtime. Hope I perfectly project my question.
If anybody needs the code , I will attach them
forexample:
CFinderView::Onbuttonclick()
{
PrintSystemUsage();
ReadFiles();
}
void PrintSystemUsage()
{
m_ListBoxResult.AddString("Crawling the Tree....");
strlineCount ="something";
m_ListBoxResult.AddString(strlineCount);
}
and in each function i have hundreds of output. I used only AddString().. with UpdateData(false).
But the List Box displays only after finishing Read Files.
Looking forward to your reply.
thnx in advance .
mfg,
kingsly
