Images problem in treeviewer
I am using a tree viewer control to display images, and it appears to be running into a memory problem, depending on image size it eventually fails to show images, sometimes failing with a bad parameter error in the GC:Drawimage. When this fails the image has 0 width and height. Sometimes a blank image is drawn.
Note, traceing the image provider show only valid size images being obtained. The problem appears to be related to the total memory used for images displays in the control, it occurs sooner with larger images. The problem can be created by switching repeatedly between image sets.
Are there any known memory issues related to use of images in the treeviewer?
Any other suggestions as to the cause of these problems.
Thanks in advance