Up until now I have been changing the CBA buttons this way:
CEikButtonGroupContainer* buttons = CEikButtonGroupContainer::Current();
buttons->SetCommandSetL(R_NEW_BUTTONS);
buttons->DrawNow();
The problem arises when using a MultipageDialog and navigate through the different pages of the MultipageDialog (detected with PageChangedL), since I get an EIKCOCTL number 63 error (which according to the documentation: "CEikButtonGroupContainer::UpdateCommandObserverL() called with an updated observer already present". How should be the right way to set the CBA buttons then?