diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-1A26BD9E-5B8E-4E6D-904E-B8354B14E111.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-1A26BD9E-5B8E-4E6D-904E-B8354B14E111.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,104 @@ + + + + + +Constructing +views in the view 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 Symbian 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