If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to stop autoscrolling on the CEdit control.

Hello,

I've written some app in MFC for logging through the COM port of my PC, all data I receive I put into CEdit control, and here I have a issue, sometimes it is necessary for me to analyze data and I wish to stop autoscrolling of my control and just freeze on current view for a while, during that time I wish to my incoming data still were written to the control. Is there anybody who can advise me how to accomplish such a functionality ?

Please take a look on function by which a add data into my control,
b_DataFreezeToggle variable is a toggle variable I've tried to get number of line to which my view supposed to return after filling control.