You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
The usual technique for refreshing controls (with a lot of data) is to set the %WM_SETREDRAW state to FALSE while filling the control, then reset the state to TRUE when done.
Thanks it looks much better now.
Learning all the time over here
The usual technique for refreshing controls (with a lot of data) is to set the %WM_SETREDRAW state to FALSE while filling the control, then reset the state to TRUE when done. I've not tried this with a listview, but it should work ok.
I'm using two listviews to display the contents of two text files.
When the listviews are being filled (40 columns, about 1400 lines)
I use a dialog with a progressbar to show the current point of reading.
The problem is that when the listviews are being filled they don't refresh (grayed).
This doesn't look nice so I need a way to make the listview look smoother when being filled.
Dialog doevents didn't give any good result.
Problem is that the progress dialog is active when the listview is
being filled.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: