CListCtrl Bug when resizing - only happens when a newly inserted item causes scroll bar to appear
-
I've got a class that's derived from both CWnd and CListCtrl. I'm using it to view events and so it's inserting new events every 15-30 seconds. When newly inserted items overflows the current view and causes the scroll bar to appear, I resize the window so that I can view all the items. This causes 1 to 2 blank lines to appear at the top of the CListCtrl. Any subsequent resizing up and down of the CListCtrl causes flickering and some of the column's values to be blank. I'm wondering if anyone has seen this problem before and/or how it can be fixed. Thanks heaps in advance.
-
I've got a class that's derived from both CWnd and CListCtrl. I'm using it to view events and so it's inserting new events every 15-30 seconds. When newly inserted items overflows the current view and causes the scroll bar to appear, I resize the window so that I can view all the items. This causes 1 to 2 blank lines to appear at the top of the CListCtrl. Any subsequent resizing up and down of the CListCtrl causes flickering and some of the column's values to be blank. I'm wondering if anyone has seen this problem before and/or how it can be fixed. Thanks heaps in advance.
-
I've got a class that's derived from both CWnd and CListCtrl. I'm using it to view events and so it's inserting new events every 15-30 seconds. When newly inserted items overflows the current view and causes the scroll bar to appear, I resize the window so that I can view all the items. This causes 1 to 2 blank lines to appear at the top of the CListCtrl. Any subsequent resizing up and down of the CListCtrl causes flickering and some of the column's values to be blank. I'm wondering if anyone has seen this problem before and/or how it can be fixed. Thanks heaps in advance.