Results 1 to 11 of 11

Thread: Treeview control doesn't show images

Hybrid View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    19

    Re: Treeview control doesn't show images

    As you can see from the screenshot it worked. I changed the mode in photoshop to 8 bits per channel instead of 16. I appreciate your help on this one.
    Attached Images Attached Images  

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    19

    Re: Treeview control doesn't show images

    Just happened to think this might also be the problem with the treeview. Then again maybe not.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    19

    Re: Treeview control doesn't show images

    Well it seems it is not the color depth in the treeview. I have tried all settings from 8 bit to 32 bit without luck. However I did notice the size of the images was 48x48 so I set the imagelist to 48x48 and it worked. After that I went into photoshop and changed the size to 16x16 and tried again. This didn't work. Again I tried the color depth without success. This has really got me baffled.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    19

    Re: Treeview control doesn't show images

    well I completely rebuilt the form and it still doesn't show the images.

  5. #5
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Re: Treeview control doesn't show images

    I think error is from your image.
    Try change another image.
    --***----------***-----

    If i help you please rate me.

    Working with Excel * Working with String * Working with Database * Working with array *

    K51 ĐH BÁCH KHOA HÀ NỘI - Khoa CNTT pro.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    19

    Re: Treeview control doesn't show images

    I have tried several types of images and none work. I have also tried changing the color depth and resolution without success.

Tags for this Thread

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