diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-940E3C48-D0ED-419A-9172-E4856C6CA809.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-940E3C48-D0ED-419A-9172-E4856C6CA809.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,22 @@ + + + + + +Register +a view with the View Server +

CCoeAppUi provides functions for view +registration and pseudo-view registration for the application identified by aAppUid. +Registering allows a view to participate in the view activities, such as activation, +deactivation and their notifications in the View Server.

Views +must be registered in the app UI's CCoeAppUi::ConstructL(CCoeAppUi +*).

The following code snippet shows registering a view:

CNewView* iViewId = new( ELeave ) CNewView ( TVwsViewId( 0xA,0x1 ), iCCoeAppUi ); +CleanupStack::PushL( iViewId ); +iCCoeAppUi->RegisterViewL( iViewId );
+
\ No newline at end of file