Jump to content
Sign in to follow this  
FireLordZi

_GUICtrlListViewDeleteItem()

Recommended Posts

FireLordZi

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

Share this post


Link to post
Share on other sites
Achilles

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]

Share this post


Link to post
Share on other sites
FireLordZi

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... :D


While Alive() {
	 DrinkWine();
}
AutoIt Programmer

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.