RE: [perl-win32-gui-users] Refresh Listview

2003-03-20 Thread Peter Eisengrein
Found it. Put this at the top of your ScanButton_Click sub to clear the listview each time. $MainWin->ListView->Clear(); -Original Message- From: Peter Eisengrein Sent: Thursday, March 20, 2003 4:55 PM To: '[EMAIL PROTECTED]'; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl

RE: [perl-win32-gui-users] Refresh Listview

2003-03-20 Thread Peter Eisengrein
Not sure about refreshing the listview. But to get some more control between events you can try adding $MainWin->Update(); $MainWin->DoEvents(); into sub ScanButton_Click. I tried it just above your InvalidateRect line and it seemed to work pretty well. You should definitely add

[perl-win32-gui-users] Refresh Listview

2003-03-20 Thread Joseph . Vieira
Hello, I have a windows with a listview. The windows takes in a range of ip addresses, then click on a button and scans them. The results are put in a listview. When the scan is running the window becomes unresponsive and the listview is only updated after the scan is complete. Two questions.