CompuServe Thread

display edit smoothly

1 messages in this thread
#30693From: Mark QianJul 12, 1994 12:58 PM
I am building a progress indicator dlg. There is a edit control in the dlg to indicate what part of computation is computed. I defined a CString, m_sEdit, attached to the edit control and appended string to it during the process as following m_sEdit += "More infor"; Then I call UpdateData(FALSE); The first problem was that the edit control display m_sEdit from the top, but what I want was to display the bottom up — allow users to view the last line at any time. What I did to sovle the problem was to scroll the edit control to the bottom after I called UpdateData(FALSE); But the new problem was the edit control flashed before it scrolled — the flash is unacceptable. How can I display the last line without flash? Thanks