
display text in the edit box during the excution of program
If I understand correctly, you want it to show "Connect", "Send", and then
"Receive" in succession. Its very likely that the whole thing is so quick
that all this happens, but you just dont notice it. If this is the case, you
may want to show a log instead, something like a listbox would be more
appropriate.
--
Ajay Kalra [MVP - VC++]
Quote:
> The problem is only display the last text displayed.
> I want it to refresh so I can see all of them.
> Thanks!
> >-----Original Message-----
> >Another simple way is to use SetWindowText:
> >pEdit->SetWindowText(_T
> ("WhatEverTextYouWantToDisplay")); // You can get
> >pEdit using GetDlgItem().
> >--
> >Ajay Kalra [MVP - VC++]
> >> I am working on a communication program, and I want to
> see
> >> the status displayed for every step.
> >> ex.
> >> step 1 - try to connect
> >> step 2 - try to send
> >> step 3- try to receive
> >> I want to display a text box to show results of step1,
> 2,
> >> 3
> >> So I created a edit text field on a dialog box.
> >> and I used UpdataData(0) during each step, trying to
> show
> >> the status, but it only showing the step 3.
> >> Any clue of how to implement what I want?
> >> Thanks!
> >.