updating my CEdit control
I have a dialog based application. I am using SetWindowText to output some message in my CEdit control. I have several messages I want to show in one function. So let say I press the OK button, the CEdit control will show "Starting", "Downloading", "Completed" in sequence. However it seems that the CEdit control will only update once at the end of the function. So only the message "Completed" is shown at the end. What code should I add in to force windows to update my CEdit control several times in a function? Thanks
Re: updating my CEdit control
Sounds like you are not using UpdateData(FALSE) to update your CEdit
after each of your SetWindowTexts.
Or maybe the three mesages are being written,but too fast for you to notice?
If Im way off pls let me know
Re: updating my CEdit control
I added in UpdateData(FALSE) but it still doesn't work but I did a search on that and it seems that there is a UpdateWindows. I tried that and it works. Thanks for the reply. :)