diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-1A26BD9E-5B8E-4E6D-904E-B8354B14E111.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-1A26BD9E-5B8E-4E6D-904E-B8354B14E111.dita Fri Jan 22 18:26:19 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