Profile Picture

NListView Items.Clear exception

Posted By Brad Swearingen 12 Years Ago
Author
Message
Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3

I'm on build 11.12.14.12.  When using the NListView and calling the Items.Clear() method I often get this exception (in Release mode build):

Application Unhandled Exception : InvalidArgument=Value of '0' is not valid for 'index'.
   at System.Windows.Forms.ListView.GetItemRect(Int32 index, ItemBoundsPortion portion)
   at Nevron.UI.WinForm.Controls.NListView.l1lII11ll1(Message& m)
   at Nevron.UI.WinForm.Controls.NListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




Threaded View

Threaded View
Forum Post NListView Items.Clear exception By Brad Swearingen ( 12 Years Ago )


Similar Topics


Reading This Topic