diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-97486385-88F7-4AF1-B880-D9A8AA4D7094.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-97486385-88F7-4AF1-B880-D9A8AA4D7094.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,102 @@ + + + + + +Compound +controls in traditional architecture +

Compound controls are +controls that contain other controls. To create a compound control, you must +do the following:

+ +

CCoeControl* CContainerContainer::ComponentControl(TInt aIndex) and CCoeControl::CountComponentControls work +in conjunction with each other. The Symbian platform can query the control +as to how many components it has and then request a pointer to each of the +component's controls. Controls can be added or removed at run time using these +two methods. The framework uses this information to draw the container.

+

The compound control usually owns the child controls and therefore it +is responsible of their construction and destruction. The compound control +should also set the positions and sizes of its child controls; it must ensure +that all child controls are inside the compound control rectangle and visible +child rectangles do not overlap each other.

+
\ No newline at end of file