Hi,
I have just upgraded to 2.0.0 and I know have a compilation error here :
ListItem.ImageIndex := ImageList_ReplaceIcon(Icons.Handle, ListItem.ImageIndex, MyIcon.Handle);
Error: identifier idents no member "Handle"
Icons is type of TImageList, MyIcon is type of TIcon and ListItem is type of TListItem.
ImageList_ReplaceIcon is coming from CommCtrl.
function ImageList_ReplaceIcon(himl:HIMAGELIST;i:cint;hicon:HICON):cint; stdcall; external commctrldll name 'ImageList_ReplaceIcon';
It definitely seems that TIcon is missing the Handle property. So far, I do not know if it is intentional (and I need to look further in order to correct it) or if it is an issue introduced with the new version?
Thanks for your advices