I am experiencing a problem with CListCtrl used in a form view.....
I see that it flickers...........
I am using EnsureVisible to see the last added items and I am using Redraw
items and SetRedraw to avoid flickering but nothing seems to be
working..........
incomingData.SetRedraw( FALSE );
incomingData.InsertItem( mItemsCount, _T("") );
incomingData.SetItemText( mItemsCount, 0, inData );
if (mItemsCount > 15)
{
incomingData.RedrawItems( mItemsCount - 15, mItemsCount );
incomingData.EnsureVisible( mItemsCount - 15, TRUE );
}
mItemsCount++;
incomingData.SetRedraw( TRUE );
Did anyone experience similar behavior ?
If so can you please tell me what else can be done to avoid flickering ?
BTW, why are you calling RedrawItems???
AliR.
"Gary" <Ga...@discussions.microsoft.com> wrote in message
news:B5A83A4C-A39F-4DB9...@microsoft.com...
Regarding RedrawItems......I was just trying to redraw portion of
items...but it was not useful...........
What else can I do to reduce the flickering ?.....
also CListCtrl supports upto 100million items right ?
http://msdn.microsoft.com/en-us/library/ye4z8x58(VS.80).aspx
AliR.
"Gary" <Ga...@discussions.microsoft.com> wrote in message
news:11E3DD00-553B-45E6...@microsoft.com...