>>oForm.oleTreeView.Object.ImageList = ThisForm.oleImages.Object
>>
>>I usually put this code in the init event of the form. Off course, this is not the perfect way to do it because it's against some OO rules, but it's the only way to make sure that all the objects are already initialized.
>>
>>Greetings
>>Markus
>
>In my case even this code didn't work, and only reinstallation of "right" comctl32.ocx helped. BTW, the latest TreeView versions from MS don't show any
>of specific TreeView properties in right click menu - just empty comboboxes... :)
Sounds like a similar problem to one I had. The solution involved registring one of the MFC link libraries, using REGSVR32. I think it was MFC40.DLL or MFC42.DLL. Maybe someone else knows for sure.
George
George
Ubi caritas et amor, deus ibi est