Announcement

Collapse
No announcement yet.

Listview refresh

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    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

    ------------------

    Leave a comment:


  • Edwin Knoppert
    replied
    This progressbehaviour is something i also exp.

    Your mouse can be reset too.

    ------------------
    [email protected]

    Leave a comment:


  • Lance Edmonds
    replied
    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.


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Listview refresh

    Listview refresh

    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.

    ------------------
Working...
X