About the error that I have reported to you in email regarding the use of ImageList with 0 width in order to hide the bullet.
I have made a test, when it is calling PaintTo(BufferCanvas, r2, False, False, False, False); it will cause exception but this exception will only be happened when running the application in Windows Vista.
Is there any workaround to deal with this problem? Thanks.
Exception Invalid Imagelist
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Sorry, but it looks like this problem is not related to TRichView. This is the problem with TImageList. Your image list has 0x0 size, probably Vista does not accept it.
There is one thing to try.
Open RVItem.pas, find the call of ImageList_DrawEx and put it in try...except:
There is one thing to try.
Open RVItem.pas, find the call of ImageList_DrawEx and put it in try...except:
Code: Select all
...
try
ImageList_DrawEx(...);
except
end;
...