Hi,
I'm writing a Dialog aplication that includes a progress bar control and a simple edit box that i use as a status bar. during various parts of the prog i'll write to these items within a loop similar to as shown,
i have a problem where intermitantly both controls just stop, while the program continues and carries on normally.
I suspect i'm losing 'focus'? but,
1) I dont know what that means, and
2) I havent a clue on why or how to fix it.
If anyone has any pointers or ideas, your comments would be greatly appreciated.
Cheers
I'm writing a Dialog aplication that includes a progress bar control and a simple edit box that i use as a status bar. during various parts of the prog i'll write to these items within a loop similar to as shown,
Code:
m_ProgressControl1.SetPos(Percent(LineNum+1,NoOfRecords));
m_StatusBarText.Empty();
m_StatusBarText.Format("Line no %i........",LineNum);
m_Status.ReplaceSel(m_StatusBarText);
UpdateData(FALSE);
I suspect i'm losing 'focus'? but,
1) I dont know what that means, and
2) I havent a clue on why or how to fix it.
If anyone has any pointers or ideas, your comments would be greatly appreciated.
Cheers