FireLordZi Posted January 26, 2008 Share Posted January 26, 2008 Is it possible with this function or another one to delete a listview item in a certain column if I have multiple columns? While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
Achilles Posted January 26, 2008 Share Posted January 26, 2008 First, get the newest AutoIt version.. It looks like you're using an older function name that is now absolete. I'm not sure if this is what you want by try using this: _GUICtrlListView_SetItemText($hWnd, $iIndex, $sText[, $iSubItem = 0]) Put $iSubItem to the column you want to erase and make the $sText equal to ""... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
FireLordZi Posted January 26, 2008 Author Share Posted January 26, 2008 That's creating all these blank spaces after it. What I'm doing is deleting an item from my listview when I click the refresh button. Then, I'm loading the buddy name from the ini back into my listview so the user can see if anything new has happened. So maybe since I'm re-creating it after setting item text to nothing is causing the problems... While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now