NlMakesis Y-Browser Y-Tasks
Hi
I am using S60 3.1 SDK for development purpose.
const CFont* normalFont = iEikonEnv->DenseFont();
How to free the memory occupied by normalFont.
Thanks in Advance Nand
You don't need to as you don't have the ownership of the font.
Eric Bustarret NewLC Founder & CEO / Professional Symbian OS Consultant
hi, example code: const CFont* font = iEikonEnv->DenseFont(); gc.UseFont(font); gc.SetPenStyle(CGraphicsContext::ESolidPen); gc.SetPenColor(KRgbWhite); gc.DrawText(_L("TestFile...")......); gc.DiscardFont();
Thanks & Regards, Symbi
Forum posts: 2006
You don't need to as you don't have the ownership of the font.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 47
hi,
example code:
const CFont* font = iEikonEnv->DenseFont();
gc.UseFont(font);
gc.SetPenStyle(CGraphicsContext::ESolidPen);
gc.SetPenColor(KRgbWhite);
gc.DrawText(_L("TestFile...")......);
gc.DiscardFont();
Thanks & Regards,
Symbi