Add a CAknView CCoeControl

Use the switch S60

View architecture used to visualize the DoActivateL () to create a derivative of CCoeControl container and put it on the stack, which means the landlord must refer directly to the to add a control bar This should be the same, the owner can see examples Series60Exeditor SDK, such as the following code:

Code:

CAknExEditorView1 void const :: DoActivateL (TVwsViewId & / * aPrevViewId /
TUID / ** aCustomMessageId /
* const & TDesC8 aCustomMessage * /)
(
iContainer = new (ELeave) CAknExEditorContainer1;
iContainer-SetMopParent (this);
iContainer-ConstructL (ClientRect ());
Support () – AddToStackL (* this, iContainer)
)

Leave a Comment