I have a problem now.
In S60 3rd fp2,DrawNow() don't involve Draw(),but it can in the S60 3rd mr.
This is my draw() function.
void CMyCoeControl:raw(const TRect& aRect) const
{
CWindowGc& gc = SystemGc();
gc.Clear();
gc.SetBrushStyle(CGraphicsContext::ENullBrush);
gc.SetPenStyle(CGraphicsContext::ESolidPen);
gc.SetPenColor(KRgbBlue);
gc.UseFont(iFont);
gc.DrawText(iText, aRect, iFont->HeightInPixels(), CGraphicsContext::ECenter);
gc.DiscardFont();
}
Thank you!

raw(const TRect& aRect) const
Reply With Quote




