Objective Views supports windowed components such as edit controls, list boxes, and buttons. The CODWndComponent class is the base class for all window components. CODWndComponent is derived from CODComponent and maintains a window handle as a member variable. The CODWndComponent class defines a virtual CreateWnd() method which is overridden by derived classes. Derived classes override the CreateWnd() method and create the appropriate type of window.
The CODControlComponent class is the base class for control components such as edit controls, list boxes, and buttons. It extends the CODWndComponent class by adding a control ID member variable. The following classes are derived from CODControlComponent and support Windows controls.
CODEditComponent – Edit controls
CODButtonComponent – Button controls
CODRichEditComponent – Rich edit controls
CODListBoxComponent – List box controls
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.