Results 1 to 3 of 3

Thread: Listview Icons

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    11

    Question

    Hi all

    Why is it that when i use an icon straight from an imagelist into a listview the icon is clear to see, as it was meant to be, but when i extract an icon from a file(exe) to a picturebox and the copy it to the imagelist, and then to the listview it looks distorted.

    Does anyone know how to fix this, or have any code that will extract an icon from a file straight to an image list.

    Thanks

    Mark
    Could a single cell organism spell its name correctly!!

  2. #2
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    I have the same problem and to add to it I also noticed when loading an icon from an image list I lose the transparency the secound time it's loaded . The first time it's fine . Any ideas ?


    []P
    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    11

    Thumbs up

    The transparency problem could be because when you copy the picture(icon), the background colour is also copied, try setting it to the same background colour as the listview.

    Mark
    Could a single cell organism spell its name correctly!!

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