Hi,Dear,

I constuct a window as the followings:
class CPopUpWindow : public CCoeControl
{
...
}

void CMyWindow::ConstructL(const TRect& aRect)
{

iMyWindowGroup=RWindowGroup(iCoeEnv->WsSession());

User::LeaveIfError(iMyWindowGroup.Construct((TUint32)&iMyWindowGroup));

iMyWindowGroup.SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront);
iMyWindowGroup.EnableReceiptOfFocus(EFalse);

CreateWindowL(&iMyWindowGroup);
SetRect(aRect);
EnableDragEvents();
ActivateL();

}

And in draw funtion,
void CMyWindow:raw(const TRect& aRect) const
{
CWindowGc& gc = SystemGc();
MAknsSkinInstance* skin = AknsUtils::SkinInstance();
MAknsControlContext* cc = AknsDrawUtils::ControlContext(this);
AknsDrawUtils::Background(skin, cc, this, gc, Rect());

...
}

but it does not work and the background color of window is white!

How Can I Obatain skin's background bmp ?

Thanks in advanced!