Hi all,
I'm using a container class (derived from CCoeControl) with a CEikLabel and a CEikRichTextEditor. I've set the control background using

iBgContext = CAknsBasicBackgroundControlContext::NewL(
KAknsIIDQsnBgAreaMain, Rect(), EFalse );

and

MAknsSkinInstance* skin = AknsUtils::SkinInstance();
AknsDrawUtils::Background( skin, iBgContext, this, gc, aRect );

This works with an empty container, but if I put the label and the rich text editor, the part of the screen surrounding the controls become white and I can't see the skin in the background. The controls fill only a part of the screen.
Here is the code that creates controls:

iStatusWindow = new (ELeave) CEikLabel;
iStatusWindow->SetContainerWindowL(*this);
iStatusWindow->SetTextL(_L("A bbello!"));
iStatusWindow->SetExtent(KLabelPosition, KLabelSize);

iOutputWindow = new (ELeave) CEikRichTextEditor();
iOutputWindow->SetContainerWindowL(*this);
iOutputWindow->ConstructL(this, KNumberOfLines, KTextLimit,
EEikEdwinLineCursor, EGulFontControlAll, EGulNoSymbolFonts);
iOutputWindow->SetFocus(ETrue);

iOutputWindow->SetExtent(KOutputPosition, KOutputSize);

How can I do to see the skin in the part surrounding the controls?
Thanks.

Matteo