Home |
Windowing Interface Terminology Window and Control |
Window and ControlThese terms are very loosely defined. They are only used for convenience when describing program operation as an alternative to itemizing long lists of actual class names. It is sometimes convenient to group the RTPEG-32 classes into two broad areas, the Window classes and the Control classes. This does not always imply that a Window class is derived from PegWindow or that a Control class is not derived from PegWindow, although that is often the case. The term Window implies only a background object that contains other objects. The term Control is used to refer to an object that is normally a child of a Window, or an object that the end user may interact with directly. In RTPEG-32, there is actually very little difference between a Window and a Control. A Window can be a child of a Control, and a Control can contain a Window. Certain features, such as scrolling, are normally associated with Windows, while other features such as notification messages are normally associated with Controls. This does not mean that a control cannot scroll, or that a Window cannot send a notification message. These terms are only used to describe the general case. An application can modify and extend this general case at will. The term Window refers to any PEG object that is normally used as a background container for other objects. Likewise, the term Control denotes the group of RTPEG-32 classes that most often do not contain other objects, and are generally used directly by the end user. Windowing Interface Terminology
|