diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-BE871265-147B-45F3-8772-A4E091223EDB.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-BE871265-147B-45F3-8772-A4E091223EDB.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,112 @@ + + + + + +Constructing +views in traditional architecture +

The call on the first phase constructor method of the view occurs in UI controller. The +view serves as the top-level window under the UI controller.

+

The methods you need to implement for your CCoeControl-derived +view are as follows:

+ +

If required for your application, you may need to implement other methods +for your control. For top-level windows, you would need to implement CCoeControl::SizeChanged() +to respond to changes to the size and position of the contents of this control. +This is called by the platform when a change occurs. A typical implementation +for a compound control is:

+void CMyAppView::SizeChanged() + { + // Control resize code + iControl->SetExtent( const TPoint &aPosition, const TSize &aSize); + } +
\ No newline at end of file