List view - ICOn display XP

J

JK

Hi
I have a strange issue. I am using a listview control and have an
imagelist. The Listview is being displayed in details view . I have an icon
against each of the list item.These icons show up perfectly in Windows 2000
but in XP , I dont see the icons. I am finding it difficult to trouble shoot
this.

any ideas / tips would be appreciated

Thanks in advance
 
H

Herfried K. Wagner [MVP]

JK said:
I have a strange issue. I am using a listview control and have an
imagelist. The Listview is being displayed in details view . I have an
icon against each of the list item.These icons show up perfectly in
Windows 2000 but in XP , I dont see the icons. I am finding it difficult
to trouble shoot this.

If you are calling 'Application.EnableVisualStyles' to enable Windows XP
visual styles for your application, call 'Application.DoEvents' directly
after the call to 'EnableVisualStyles'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top