is anyone can tell me is there any wrongs at my draw image code below?
i got problem when i call draw ( use DrawNow() ), the image successfully draw but not for long time the screen became white again even image is still contained at memory.
void CTestMain::Draw( const TRect& aRect ) const
CWindowGc& gc = SystemGc();
gc.Clear( aRect );
CFbsBitmap* bitmap = new CFbsBitmap;
CImageDecoder* decoder = CImageDecoder::DataNewL(fs, *iBuf); //iBuf = HBufc8*
TFrameInfo frameInfo = decoder->FrameInfo(0);
TRequestStatus status = KRequestPending;