Microsoft Visual C++ Controls Supported by Dialog Builder


The following table summarizes all Microsoft Visual C++ controls supported by Dialog Builder. In addition to the controls in the table below you can also add Origin graph and worksheet controls, bitmap toolbar buttons, images, custom controls, and third party ActiveX controls.


Control

Name

Summary

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image001.jpg

Button

A button initiates an action.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image003.jpg

Check Box

A check box controls the On/Off status of an item.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image005.jpg

Combo Box

A combo box provides a text box with an attached list box.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image007.jpg

Edit Box

An edit box provides a text box for user input.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image009.jpg

Group Box

The group box can be used to visually define related controls.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image011.jpg

List Box

A list box provides a list of items the user can select from.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image014.jpg

Picture

The picture control is used to:
1) Create a placeholder for tabs on a tabbed dialog or a placeholder for pages on a wizard. When you use the Origin Dialog AppWizard to create your tabbed dialog or wizard, the AppWizard automatically adds the Picture control to your main dialog.
2
) Create a placeholder for an attached graph (GraphControl) or worksheet (WorksheetControl).

3) Create a toolbar placeholder for bitmap toolbar buttons.

4) Create a placeholder for an image.

5) Create a placeholder for a custom control.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image016.jpg

Radio Button

A radio button controls the On/Off status of an item.

To create a radio button group, you must add the radio button controls consecutively to your dialog, tab, or wizard page. This will ensure that the numeric ID values for the radio buttons will be consecutive - a requirement for proper operation. To create a radio button group so that only one radio button can be selected at a time in the group, the first radio button in your group must have the Group check box selected on the General tab of the Radio Button Properties dialog. Additionally, select the Tab Stop check box on this tab to set this radio button as the tab stop for the group.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image109.gif

Rich Edit

The Rich Edit control can be used to edit with character and paragraph formatting.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image018.jpg

Slider

The slider control is often used with an edit box control.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image020.jpg

The edit control displays the current value of the slider. On the Styles tab of the Edit Properties dialog, select the Number and the Read-only check boxes.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image022.jpg

Spin

The spin control should be used with an edit box control.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image024.jpg

The spin control provides the up and down arrows that control the display of the value in the associated (non-editable) edit box. You must create the edit box and the spin control sequentially, so that you first create the edit box control and you then create the spin control. This will ensure that the edit box numeric ID value will be one less than the spin control numeric ID value - a requirement for proper operation. When creating a spin control and edit box, you must perform the following:
Edit box: On the Styles tab of the Edit Properties dialog, select the Number and the Read-only check boxes.
Spin control: On the Styles tab of the Spin Properties dialog, select the Auto Buddy and the Set Buddy Integer check boxes.
Additionally, the Spin control must be the TAB stop following the Edit box.

Microsoft Visual C Plus Plus Controls Supported by Dialog Builder image026.jpg

Static Text

The static text control can be used to add editable labels to your dialog, tabbed dialog, or wizard.