Advertisement

An MFC ListBox Question

Started by October 12, 2000 07:43 PM
2 comments, last by DisKordCoder 24 years, 2 months ago
I have a listbox in an MFC application ive made, and ive noticed that it doesn''t actually place the text in the box until all the other processes are done. Basically, i want it to put the text into the listbox, as soon as the AddString command is used. Does anyone know how? Thanks.
I noticed that too - it seems updating the listbox requires a msg going through the winproc or something...

- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
I thought that too.

I tried PostMessage(WM_PAINT) but no effect
myListbox.UpdateData(FALSE); after the AddString?

In a hurry right now so can''t check if it works.
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~

This topic is closed to new replies.

Advertisement