I have do lots googling but I did not get right solution to stop flickering in listview as I am stop flickering in richtextbox but I did not stop flickering in listview.
following code I used to stop flickering in Richtexbox...it is works for me..
[System.Runtime.InteropServices.DllImport("user32.dll")]
private extern static IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wp, IntPtr lp);
SendMessage(RichText_MessageData.Handle, 0xb, (IntPtr)0, IntPtr.Zero);
SendMessage(RichText_MessageData.Handle, 0xb, (IntPtr)1, IntPtr.Zero);
RichText_MessageData.Invalidate();
and I am using below code to stop flickering in listview.....It is not worked..
SendMessage(lv_employeelist.Handle, 0xb, (IntPtr)0, IntPtr.Zero);
SendMessage(lv_employeelist.Handle, 0xb, (IntPtr)1, IntPtr.Zero);
lv_employeelist.Invalidate();
What I am done here wrong...