I'm trying to construct a dialog like control but with somewhat different characteristics. I want the CoeControl to show up without having to put it in it's own view. The problem I have is that I can't make the Sofkkeys to show up. If I draw something it shows up, but not the softkeys. As I understand it, these should be created with CEikButtonGroupContainer. This is what I do in the ConstructL of my CoeControl.
CEikAppUi* appUi = iEikonEnv->EikAppUi();
this, 0, *this);
iButtonBar->SetCommandSetL(R_A_CBA); // cba resource
I also have CountComponentControls , ComponentControl and a SizeChanged functions. I have tried many different variations. CEikButtonGroupContainer also has a NewL that takes a WindowGroup as an argument instead of a CoeControl for example. If anyone has used CEikButtonGroupContainer (that is has created and used it) and could give a short explanation, I would very much appreciate it. Maybe the problem isn't with the buttons but has something to do with the relationship between views and coecontrols that I haven't understood.