CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2000
    Posts
    7

    Question StateImageList in ListView Controls

    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

  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    you will need to set the 2 imagelists, large and small, it will use as it requires in the current view.

    -Paresh
    - Software Architect

  3. #3
    Join Date
    Mar 2000
    Posts
    7
    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

  4. #4
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    ok
    - Software Architect

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured