Jump to content
Sign in to follow this  
schliden

Can a ListView have an Icon Column

Recommended Posts

schliden

Hi,

Is it possible to add a column to a listview containing an icon ?

I have four columns at the moment:

1. A Checkbox (to enable/disable selection)

2. A Count

3. A Source

4. A Target

I would like to add a 5th column with some type of graphical indicator, in the listview on weather a process was successful or unsuccessful !

TIA

Share this post


Link to post
Share on other sites
GaryFrost

Hi,

Is it possible to add a column to a listview containing an icon ?

I have four columns at the moment:

1. A Checkbox (to enable/disable selection)

2. A Count

3. A Source

4. A Target

I would like to add a 5th column with some type of graphical indicator, in the listview on weather a process was successful or unsuccessful !

TIA

Run the example on the following link, the second example that runs shows icons in columns.

http://www.autoitscript.com/forum/index.ph...st&p=281789


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
schliden

Run the example on the following link, the second example that runs shows icons in columns.

http://www.autoitscript.com/forum/index.ph...st&p=281789

Thanks.

I did not actually get it to work, as per your example.

I need to set the images dynamically as processing occurs.

Although you example shows how to intialise the listview with images, I could not see how to apply this dynamically.

I did not use handles when I created the listview line items.

I am sure it is possible, but for now, I have implemented it with text (i.e a new column that indicates either Done|Fail|Skip)

Cheers

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  

×