diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-940E3C48-D0ED-419A-9172-E4856C6CA809.dita --- a/Symbian3/PDK/Source/GUID-940E3C48-D0ED-419A-9172-E4856C6CA809.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-940E3C48-D0ED-419A-9172-E4856C6CA809.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,22 +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 );
+ + + + + +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