fast updates to textbox?

  • Thread starter Thread starter federico
  • Start date Start date
F

federico

Hello I have an application that iterates through the messages of a mailbox.
The program does fine the job of moving messages that match a criteria. I
would like to add to the program the capablity of displaying a progress
window. Ideally, the progress window should have a textbox control that
display very fast the subject of each email it is examining. The user would
not be able to read the contents of the textbox, but he would be happy
knowing that the program is working.

I tried serveral combinations of suspendlayout, resumelayout, performlayout,
but nothing seem to work.

Any advice you could give me will be greatly appreciated.

federico
 
federico,

Did you try calling the textbox's Refresh method after placing text into the
textbox?

Kerry Moorman
 
federico,

The do events does this job, however be aware that you are slowing your
program down.

The do events on one side and by painting on the other side. Painting is the
most time expensive part of almost every program.

Cor
 
Back
Top