A simple control is one that contains no other control. The term compound control or container refers to a control that contains one or more controls. The container controls may themselves be compound controls. When a control is contained in a compound control it is called a component control. Compound controls can be used to group non-window-owning controls in window-owning controls or to allow several controls to be handled together.
For more information on compound controls, see Compound controls in traditional architecture and Compound controls in the view architecture.
Examples of a compound control include:
a view that displays text in the main pane
typically this is handled by using the methods of the CEikLabel class, which is a non-window-owning control,
in a CCoeControl
-derived view
a view that contains a listbox in the main pane
typically this is handled by using the methods of the Lists
API in a CCoeControl
-derived view
a view the contains a grid in the main pane
typically, this is handled by using the methods of the Grids
API in a CCoeControl
-derived view. The APIs to
use for lists and grids are the Lists API and the Grids API. For more
information, see Symbian C++ API specifications.