Jump to content

Can a ListView have an Icon Column


Recommended Posts

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...