A
Adam Klobukowski
Hello
I have a scrollable System.Windows.Forms.Panel, and I add/remove
controls (ListView only) to/from it programatically.
Sometimes, probaly when redrawing the panel while adding/removing
controls or scrolling the panel i get an infinite loop of messageboxes
saying "invalid parameter used" but no exceprion is thrown. It happens
randomly, I cannot reproduce steps to achieve it.
I do not do any painting operations on it, I handle only few events
related to mouse and SelectedItem in listview.
Wha co I do to avoid it?
I have a scrollable System.Windows.Forms.Panel, and I add/remove
controls (ListView only) to/from it programatically.
Sometimes, probaly when redrawing the panel while adding/removing
controls or scrolling the panel i get an infinite loop of messageboxes
saying "invalid parameter used" but no exceprion is thrown. It happens
randomly, I cannot reproduce steps to achieve it.
I do not do any painting operations on it, I handle only few events
related to mouse and SelectedItem in listview.
Wha co I do to avoid it?