List view - ICOn display XP

  • Thread starter Thread starter JK
  • Start date Start date
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
 
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'.
 
Back
Top