Home Page (Dialog Editor) | Overview | How Do I ... Topics
You add controls to a dialog box by using the Controls toolbar to choose the control you want, then placing the control in the dialog box. You can edit the properties of a control, such as its ID, whether it is initially visible at runtime, and so forth.
You can use the shortcut menu to quickly add registered ActiveX controls to a dialog box, and you can use the Components and Controls Gallery to add an ActiveX control to the Controls toolbar of the active project.
Adding controls to dialog boxes
Show or hide the Controls toolbar
Size a control while you add it
Add an ActiveX control to a dialog box
Add an ActiveX control to the Controls toolbar
Edit the properties of a control or controls
To add a control to a dialog box
For information about the types of controls available on the Controls toolbar, see Types of Controls.
To size a control while you add it
To add an ActiveX control to a dialog box
The control appears in the dialog box, where you can edit it or create handlers for it just as you would any other control.
To add an ActiveX control to the Controls toolbar
Note This procedure adds an ActiveX control from the Components and Controls Gallery to the Dialog editor Controls toolbar. Once installed, the control remains a part of the workspace configuration and cannot be removed from the toolbar. When you open a different workspace, the Controls toolbar will appear as it was prior to your adding the ActiveX control.
Some controls have Help files available. To see the Help file, click More Info.
The Confirm Classes dialog box appears.
Note There must be at least one project on the workspace that supports MFC. If the only project on the workspace is an ATL project without MFC support, you will receive an error message, and will be unable to insert the control.
The controls you have inserted now appear on the Controls toolbar.
To edit the properties of a control or controls
If you have multiple controls selected, only the properties common to all the controls can be edited. To undo a change, choose Undo from the Edit menu.