Hi, all !
There is a TTreeview object. It contains a set of files of different types. I need to add icons associated with the file type to ::oImageList. I do this:
img=BmpFromIcon( EXTRACTASSICON (0, MyFile, @sol)) - handle bitmap
TTreeview: oImageList:Add(img, NIL)
But get the error: Class 'NUMERIC' has no exported method 'HBITMAP'
What I am wrong ?