Adding properties to an activeX
Posted on 2001-06-15
I have an ActiveX control that I am putting together in Visual C++ for use by a VB application. I added GetMessage1 and SetMessage1 properties to the control and made the type variant (because I didn't see String as an option). Now I need a way to read/write string values to those properties but I can't seem to figure out how to access them. Do I need to connect them to a variable somehow? I also need to do the same thing with proerties of type "BOOL". Any help will be appreciated.
I have already added and used methods and events to the control that work fine. I am just hung up on this and have limited experience with C++.