Hello,
I am trying to draw texts and images without using coecontrol (outside of standard UI).
here I am using the WIKI code for doing it:
http://wiki.forum.nokia.com/index.ph...tion_framework
http://wiki.forum.nokia.com/index.ph...ndow_server%3F
But I have problem with Redraw function.
the Window can't be cleared when I call the following code in Draw() function:
(Draw() function is called before set RedrawReady(&iStatus)
But if I useCode:iGc->Activate(*iWindow); TRect DrwRect(TPoint(0,0), TSize(175, 80)); iWindow->BeginRedraw(); iGc->Clear(DrwRect); ...... iWindow->EndRedraw(); iGc->Deactivate(); iSession->Flush();
,then the screen is cleared and updated.Code:iWindow->SetVisible(EFalse); iWindow->SetVisible(ETrue); iSession->Flush();
My question is, how to clear a TRect of a window in Draw() function here?
Thanks in advanced
Regards,
Pai





