R Roger Boesch Sep 18, 2003 #2 Duncan said: If anyone knows how to do this. Thanks in advance, Click to expand... 1. First create flag CreateParams cp = base.CreateParams; cp.Style |= (int)ListViewStyles.LVS_OWNERDATA; 2. Specify number of total records int result = WindowsFunction.SendMessage(this.Handle, (int)ListViewMessages.LVM_SETITEMCOUNT, m_itemCount, 0); 3. Define this handler QueryItemText += new QueryItemTextHandler(ListViewFieldHandler); If you need any sample source , let me know. Roger
Duncan said: If anyone knows how to do this. Thanks in advance, Click to expand... 1. First create flag CreateParams cp = base.CreateParams; cp.Style |= (int)ListViewStyles.LVS_OWNERDATA; 2. Specify number of total records int result = WindowsFunction.SendMessage(this.Handle, (int)ListViewMessages.LVM_SETITEMCOUNT, m_itemCount, 0); 3. Define this handler QueryItemText += new QueryItemTextHandler(ListViewFieldHandler); If you need any sample source , let me know. Roger
D Duncan Sep 18, 2003 #3 Thanks heaps roger, life saver. Yes if you have any samples please do mail it or post it. my mail (e-mail address removed) Thanks again.
Thanks heaps roger, life saver. Yes if you have any samples please do mail it or post it. my mail (e-mail address removed) Thanks again.