Click to See Complete Forum and Search --> : StateImageList in ListView Controls
Colin Soule
May 2nd, 2003, 09:20 AM
I'm using the StateImageList in a ListView Control. Unfortunately, the state image always shows up to the left of the icon rather than being treated as an overlay. Is there a way to force the StateImageList icon to _overlay_ the LargeIconList icon when using the Large Icon view?
Thanks,
Colin
pareshgh
May 2nd, 2003, 02:16 PM
you will need to set the 2 imagelists, large and small, it will use as it requires in the current view.
-Paresh
Colin Soule
May 6th, 2003, 01:09 PM
I decided to abandon the StateImageList.
Instead, while creating the Large and Small image lists for the ListView, I immediately apply the appropriate state image overlay using Graphics.DrawImage().
Thanks to those posted answers.
Colin
pareshgh
May 6th, 2003, 01:33 PM
ok ;)
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.