I have created an ActiveX Control based on a CListBox control. - I did this using the VC++ ActiveX Wizard.
Just a quick and simple question really. How do I access this CListBox from within the actual ActiveX code.
I want to have the ListBox automatically print something in it when it is initialised. But I have no idea what name to reference it by.
I would have thought, that as the control is based on the listbox, I could just call the ListBox's methods (such as AddString etc..) but it appears not.
Could someone let me know how this is done. Or if not, let me know so I can try a different approach.
Thanks
Just a quick and simple question really. How do I access this CListBox from within the actual ActiveX code.
I want to have the ListBox automatically print something in it when it is initialised. But I have no idea what name to reference it by.
I would have thought, that as the control is based on the listbox, I could just call the ListBox's methods (such as AddString etc..) but it appears not.
Could someone let me know how this is done. Or if not, let me know so I can try a different approach.
Thanks