I have created a gread in a container with the help of sample example in SDK. I want to change the backgroung colour. How can i do this?
I tried changing colour in draw function,
void CAknExGridContainerAsSelection::Draw( const TRect& aRect ) const
CWindowGc& gc = SystemGc();
gc.SetPenStyle( CGraphicsContext::ENullPen );
gc.SetBrushColor( KRgbBlue );
gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
gc.DrawRect( aRect );
But this is not working.
Please help me. Its little urgent.