I am developing a multiview application on S90. I have tried to update the application title dynamically when a new view is displayed without success. It seems like S90 is based on Crystal (S80, a lot of Ckn-classes) and I have taken a look at the compound example for Crystal available here at forum Nokia. In this example the app title is controlled by a CCoeControl derived class using a CCknAppTitle instance . A CCknAppTitle is simply constucted in its ConstructL() and the CCoeControl::ComponentControl(), CCoeControl::CountComponentControls(), and CCoeControl::SetFocus() are updated to handle the CCknAppTitle instance. I have tried to copy this strategy from that example but the title is never updated dynamically after being statically defined in the resource file. One problem/difference between Crystal/S90 could be that the title area is located outside the rectangle returned by CEikAppUi::ClientRect() that is supplied to my class trying to modify the title at construction time.
I have also noticed that there are some other examples of updating the app title here at forum Nokia, but all of them concern Crystal, and the same startegy used in the Compound example is suggested.
In S60 the app title is set by the following code snippet:
CEikStatusPane* statusPane = iAvkonAppUi->StatusPane();
titlePane = (CAknTitlePane*) statusPane->ControlL(
A reference to the already existing titlepane is accessed instead of creating a new instance as suggested in the Crystal examples I have found so far. Could this strategy work? If so, what is the corresponding Uid for the title area for S90? I have tried to use KUidHildonStatusPaneTitleArea and EHildonStatusPaneAppNameControl (defined in indicato.hrh) without success.
If anybody knows how to update the app title dynamically on S90 or has a feeling if I am on the right/wrong way, please let me know.