Home | Overview | How Do I | Tutorial | Sample
When you insert an ActiveX control into a project, it is useful to view and change the properties supported by the ActiveX control. This article discusses how to use the Visual C++ resource editor to do this.
If your ActiveX control container application uses embedded controls, you can view and modify the control’s properties while in the resource editor. You can also use the resource editor to set property values during design time. The resource editor then automatically saves these values in the project’s resource file. Any instance of the control will then have its properties initialized to these values.
This procedure assumes that you have used Gallery to insert a control into your project. For information, see ActiveX Control Containers: Inserting a Control Into a Control Container Application.
The first step in viewing the control’s properties is to add an instance of the control to the project’s dialog template.
To add a control to the dialog template
Once you have added the control to the dialog box, double-click on the control to bring up the control Properties dialog box. Use this dialog box to modify and test new properties immediately.