hi Friends,
I m working on S60 2nd Edition FP3.
My App has three view. In my 2nd and 3rd view there is ListBox which holds Number.
After that i open phonebook from menu option. Phone book Shows correctly.My problem is that when i go to back from here
Tab is dissappered. Whats the exactly problem is ??? Plz guide me...
I guess you did not consider the control for the control count (I have done long time back UI programing so not completely sure) i mean for CountComponentControls. Not drawing after reactivating means the app is not giving what all has to be redrawn. I hope this will help you. Also it is difficult to understand with out seeing code.
hi srikanth,
I checked all this ... all things r rite. And do one thing also... i create a blank project in carbide with view Architecture,after that i simply add code in one view class for showing phonebook and checked that but problem is as it is there... tab dissapeared after come back to own view. code i write for showing phonebook is here............. i don't understand whats the solution for this is ???
so plz guide...............
Forum posts: 93
I m still waiting for anyone reply so plz help me anyone................
Thanks & Regards,
C Singh
Forum posts: 285
I guess you did not consider the control for the control count (I have done long time back UI programing so not completely sure) i mean for CountComponentControls. Not drawing after reactivating means the app is not giving what all has to be redrawn. I hope this will help you. Also it is difficult to understand with out seeing code.
Cheers,
Sri
Forum posts: 93
hi srikanth,
I checked all this ... all things r rite. And do one thing also... i create a blank project in carbide with view Architecture,after that i simply add code in one view class for showing phonebook and checked that but problem is as it is there... tab dissapeared after come back to own view. code i write for showing phonebook is here............. i don't understand whats the solution for this is ???
so plz guide...............
void CTestTabView::DisplayPhoneBookL()
{
RPbkViewResourceFile phonebookResource( *(CEikonEnv::Static()) );
phonebookResource.OpenL();
CPbkMultipleEntryFetchDlg::TParams params;
CleanupStack::PushL(params);
CPbkContactEngine* iPbkContactEngine = CPbkContactEngine::NewL(&iEikonEnv->FsSession());
CleanupStack::PushL(iPbkContactEngine);
params.iContactView = &iPbkContactEngine->AllContactsView();
CPbkMultipleEntryFetchDlg* fetcher = CPbkMultipleEntryFetchDlg::NewL(params, *iPbkContactEngine);
fetcher->SetMopParent(this);
//If User pressed OK
if(fetcher->ExecuteLD())
{
}
CleanupStack::PopAndDestroy(2); //CPbkContactEngine, CPbkMultipleEntryFetchDlg::TParams
phonebookResource.Close();
}
Thanks & Regards,
C Singh