ImageList getters and setters do not support hImageList

Summary

Id: 4089.26
Type: Bug Bug
Current Status: Open

Detail

2 Dec 2003 Open John Price

I have downloaded your vbalListViewCtl so that I can send it to a C++ dll and load it from there.

Am I right in thinking that the declarations for the .ImageList property let and set should be:

Public Property Let ImageList( _
   Optional ByVal eSize As EImageListTypeConstants = eLVLargeIcon, _
   ilsThis As Variant)

and

Public Property Set ImageList( _
   Optional ByVal eSize As EImageListTypeConstants = eLVLargeIcon, _
   ilsThis As Variant)

and not Object as currently given.

If Variant is used instead of Object you can sent the control an image list handle rather than being restricted to an image list control. It looks from the code as if this is what you intended.