I can not understand why this code is not work. Emulator give me error msg box.
void CRiiviContainer::Draw(const TRect& aRect) const
CWindowGc& gc = SystemGc();
//gc.DrawText(_L("Text"), TPoint(50,50)); not Help too
Nokia Developer Expert
at least you should set a font that is used in writing the text, before actually trying any writing.
what kind of error?
is it really in Draw() method?
as yucca said UseFont() is your friend... if you forget to call this before drawing it might panic the application.