Hello!

In my application, I have about 30 views. Application is able to switch language in runtime.
I have general problem with softkey's bar. After language switch, the old language strings are being left on softkeys, so I must set again softkeys in this way (example for one view)

Code:
void CSomeView::DoActivateL(...)
{
	// ...
	CEikButtonGroupContainer *cba = CEikButtonGroupContainer::Current();
	if (cba != NULL)
	{
		cba->SetCommandSetL(R_SOFTKEYS_OPTIONS_HIDE);
		cba->DrawDeferred();
	}
	// ...
}
And here is an resource used for this view:
Code:
RESOURCE AVKON_VIEW r_someview_main
{
	cba = r_softkeys_options_hide;    // <- how to get this in run time ?
}

But as I mentioned above, I have about 30 views, with many different button sets.
I'm intensively searching, how to get the currently set resource ID? All what I need is one generic function, matching for any view, like this:

Code:
void CSomeView::DoActivateL(...)
{
	// ...
	CEikButtonGroupContainer *cba = CEikButtonGroupContainer::Current();
	if (cba != NULL)
	{
		const TInt buttons = cba->GetCommandSetL();   // <- no such API
		cba->SetCommandSetL(buttons);
		cba->DrawDeferred();
	}
	// ...
}

The GetCommandSetL() just doesn't exist.
Does anybody has faced with such problem...?