equal
deleted
inserted
replaced
17 the display. Each window has a one-to-one relationship with the control that |
17 the display. Each window has a one-to-one relationship with the control that |
18 covers it, and shares its behavior with that control.</p> |
18 covers it, and shares its behavior with that control.</p> |
19 <p>Examples of window-owning controls include:</p> |
19 <p>Examples of window-owning controls include:</p> |
20 <ul> |
20 <ul> |
21 <li><p>top-level control in <xref href="GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita">Traditional |
21 <li><p>top-level control in <xref href="GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita">Traditional |
22 Symbian architecture</xref></p></li> |
22 Symbian platform architecture</xref></p></li> |
23 <li><p>the subpanes in the status pane</p></li> |
23 <li><p>the sub-panes in the status pane</p></li> |
24 <li><p>pop-up windows, when a sense of layering is required</p> |
24 <li><p>pop-up windows, when a sense of layering is required</p> |
25 </li> |
25 </li> |
26 </ul> |
26 </ul> |
27 <p>The following code snippet is an example of the second phase construction |
27 <p>The following code snippet is an example of the second phase construction |
28 of a window-owning control:</p> |
28 of a window-owning control:</p> |
34 // size |
34 // size |
35 ActivateL(); // This must be called before |
35 ActivateL(); // This must be called before |
36 // the control can be drawn |
36 // the control can be drawn |
37 } |
37 } |
38 </codeblock> |
38 </codeblock> |
39 <p><parmname>ClientRect()</parmname> returns the screen area available |
39 <p><parmname>CEikAppUi::ClientRect()</parmname> returns the screen area |
40 to the application for drawing. This typically does not include the space |
40 available to the application for drawing. This typically does not include |
41 that is reserved for the status/control panes.</p> |
41 the space that is reserved for the status/control panes.</p> |
42 <p>For more information, see <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/guide/Application-Framework-subsystem-guide/UIControlFrameworkGuide/UIControlFrameworkGuide2/RunTimeControlHierarchy.guide.html#ApplicationFrameworkOverview%2eUIControlFrameworkGuide2%2ehierarchy" format="application/java-archive">The run-time control hierarchy</xref></p> |
42 <p>For more information, see <xref href="GUID-E244744F-4837-5B46-8E37-4666A28BF0B7-GENID-1-10-1-3-1-1-7-1-7-1-5-1.dita">The |
|
43 run-time control hierarchy</xref></p> |
43 </section> |
44 </section> |
44 <section id="GUID-13D754E5-EBCF-4058-B3B3-05505289953B"><title>Non-window-owning |
45 <section id="GUID-13D754E5-EBCF-4058-B3B3-05505289953B"><title>Non-window-owning |
45 controls</title> |
46 controls</title> |
46 <p>Non-window-owning controls typically cover only part of a window on |
47 <p>Non-window-owning controls typically cover only part of a window on |
47 the display, and must be contained in window-owning controls. They are faster |
48 the display, and must be contained in window-owning controls. They are faster |
51 <li><p>command buttons</p></li> |
52 <li><p>command buttons</p></li> |
52 <li><p>edit windows</p></li> |
53 <li><p>edit windows</p></li> |
53 <li><p>labels</p></li> |
54 <li><p>labels</p></li> |
54 </ul> |
55 </ul> |
55 <p>Non-window-owning controls are assigned to window-owning controls by |
56 <p>Non-window-owning controls are assigned to window-owning controls by |
56 calling <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/reference/reference-cpp/Control_Environment/CCoeControlClass.html#%3a%3aCCoeControl%3a%3aSetContainerWindowL%28RBackedUpWindow%20%26amp%3b%29" format="application/java-archive"><parmname>CCoeControl::SetContainerWindowL</parmname></xref> when the |
57 calling <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita#GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160/GUID-A39BAD7E-BAF2-3A4B-BE4F-2A86718EB190"><apiname>CCoeControl::SetContainerWindowL()</apiname></xref> when the control |
57 control is constructed.</p> |
58 is constructed.</p> |
58 <p>For more information, see <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/guide/Application-Framework-subsystem-guide/UIControlFrameworkGuide/UIControlFrameworkGuide2/RunTimeControlHierarchy.guide.html#ApplicationFrameworkOverview%2eUIControlFrameworkGuide2%2ehierarchy" format="application/java-archive">The run-time control hierarchy</xref></p> |
59 <p>For more information, see <xref href="GUID-E244744F-4837-5B46-8E37-4666A28BF0B7-GENID-1-10-1-3-1-1-7-1-7-1-5-1.dita">The |
|
60 run-time control hierarchy</xref></p> |
59 </section> |
61 </section> |
60 </conbody></concept> |
62 </conbody></concept> |