1.3.6 User Interface Controls Class

The following classes are about user interface. For more details, please refer to the Origin C: Origin C Reference: Classes: User Interface Controls chapter in the help document of OriginC.

The classes marked with * are only available in Origin with the DeveloperKit installed.

Class Brief Description
*BitmapRadioButton

This class provides the functionality of bitmap radio button controls.

*Button

This class provides the functionality of button controls. A button control is a small rectangular child window, which can be clicked on and off. The button will change its appearance when clicked. Typical buttons include check boxes, radio buttons and push buttons.

*CmdTarget

This class is the base class for message map architecture. A message map is used to send a command or message to the member functions you have written, and then the member functions handle the command or message. (A command is a message from a menu item, command button, or accelerator key.)

Two key framework classes are derived from this class: Window and ObjectCmdTarget. To create a new class for handling messages, you can just derive your new class from one of these two classes. There is no need to derive from CmdTarget directly.

*CodeEdit

This class is derived from the RichEdit class. It is used to display the redefined color for key words in coding text.

*ColorText

This class is only available in Origin packages that have the DeveloperKit installed.

*ComboBox

This class is used to define combobox control.

*Control

This class provides the base functionality of all controls.

*DeviceContext

This class is used to define device-context objects.

*DhtmlControl

//add description here

*Dialog

This class is the base class for displaying dialog boxes on the screen.

*DialogBar

This class is used to create a Dockable control bar with a child Origin C-driven dialog.

*DynaControl

This class is used to generate various types of customized interface controls dynamically, such as an edit box, combo box, check box, or radio button. The values will be stored in a tree node, and the on dialog will display as a tree structure.

*Edit

This class is used to create edit controls. An edit control is a rectangular child window, which can be filled with text.

*GraphControl

This class is derived from the OriginControls, Control and Window classes, from which it inherits methods and properties. Methods defined in this class can be used to display an Origin Graph within the specified control on the dialog.

GraphObjTool

This class is the base class of GraphObjCurveTool. It is used to create and manage a rectangle on an Origin graph window, around the region of interest and containing the data.

GraphObjCurveTool

This class is derived from GraphObjTool, from which it inherits methods and properties. With these methods and properties, it can be used to create and manage a rectangle on an Origin graph window, around the region of interest and containing the data. This class also provides methods for adding a context menu and the related event functions.

*ListBox

This class is used to define list boxes. A list box shows a list of string items for viewing and selecting.

*Menu

This class is used to handle menus, including creating, tracking, updating and destroying them.

*OriginControls

This class is the base class for displaying the Origin window on dialog.

*PictureControl

This class is used to paint a PictureHolder object within the control on dialog.

progressBox

This class provides methods and properties for opening and controlling progress dialog boxes. A progress dialog box is a small dialog box that indicates the software is busy processing data. This dialog box contains a progress bar for showing the fraction of the completed processing. The progress dialog box is usually used in iterative loops.

*PropertyPage

This class is used to construct individual page objects of property sheets in a wizard dialog.

*PropertySheet

This class is used to construct property sheets in a wizard dialog. One property sheet object can contain multiple property page objects.

*RichEdit

This class provides methods for formatting text. A rich edit control is a window, in which text can be written and edited. The text can be in character and paragraph formatting.

*Slider

A slider control is a window with a slider and optional ticks. When the slider is moved by the mouse or the directional keys on the keyboard, the control will send a notification message to implement the change.

*SpinButton

A spin button control is a pair of arrow buttons that can be used to increase or decrease a value, such as scroll position or the number displaying in an accompanying control. This value is called the current position.

*TabControl

A tab control is used to display different information under different tabs in a dialog. This class provides methods to add/delete tab items for displaying a group of controls.

waitCursor

A wait cursor is a visual sign for indicating that the software is busy processing data. This class provides methods and properties for opening and controlling wait cursors.

*Window

This class is the base class of all window classes. It is similar to the MFC CWnd class.

*WizardControl

This class is used to construct wizard controls for implementing something step by step in a dialog. The methods available in this class enable you to add/delete steps.

*WizardSheet

This class is used to construct property sheet objects in a wizard dialog. A property sheet contains one or more property page objects.

*WorksheetControl

This class is derived from the OriginControls, Control and Window classes, and it inherits their methods and properties. The methods available in this class can be used to display an Origin Worksheet within the specified control in a dialog.

*WndContainer

This class is the base class of the derived control classes.