How do I insert a member variable of ActiveX type to my application, using C++ Visual Studio 6.0?
The application requires C++ wrapper classes to handle member variables of ActiveX type. In Visual Studio 6.0 you can follow the steps: • Insert the ActiveX control to your dialog/formview • In design mode, select the control, and invoke the class wizard ( CTRL + W ) • Select “Member Variables” page • Select the identifier of the control, and press the “Add Variable …” button • The ClassWizard asks ‘The ActiveX Control “…” has not been inserted into the project. Developer Studio will do this now, and generate a C++ wrapper class for it’, click OK • A confirmation dialog will be shown, click ok • The “Add Member Variable” dialog shows up, and is asking for the name of the variable that needs to be inserted • Type the name of the variable and click ok. • Click OK, to close the ClassWizard dialog.