|
|
User login
Feeds |
about display problem...
|
|||||
| Tue, 2005-08-23 12:35 | |
|
hello all
in my application there is two views. in on view i have created simply listbox and other view contain normal screen. but the listboxs are not displaying at the initial opening screen. but when i am pressing "Options" and then press "cancel" then the listboxes displaying properly. at the beginning the first listbox is displaying. what can be the problem?? my code is: void CMyContainer::ConstructL(const TRect& aRect) Â Â { CreateWindowL(); SetRect(aRect); iListBox = new (ELeave) CAknSingleStyleListBox; iListBox->ConstructL(this, 0); iListBox->SetContainerWindowL(*this); iListBox->SetRect(aRect.Size()); iArray = new (ELeave) CDesCArrayFlat(4); CleanupStack::PushL(iArray); iArray->AppendL(_L("\tItem1")); iArray->AppendL(_L("\tItem2")); iArray->AppendL(_L("\tItem3")); iArray->AppendL(_L("\tItem14")); CleanupStack::Pop(); iListBox->Model()->SetItemTextArray(iArray); iListBox->Model()->SetOwnershipType(ELbmDoesNotOwnItemArray); iListBox->ActivateL(); iListBox->SetListBoxObserver(this); MakeVisible(ETrue); ActivateL(); Â Â } i think the corresponding view class is ok what can be the problem?? thanks bashar |
|
Forum posts: 732
Forum posts: 27
thanks for your advice. its working now.
now can anybody inform me how to remove application from emulator??
thanks
bashar
Forum posts: 732
Go to this path: %EPOCROOT%\Epoc32\release\wins\udeb\z\system\apps. There you wil find some folder's, delete the folder with the name of your application.
NB: I donno what'll happen if you delete default applications!! It is recomended to delete only the folder of the application that you have created.
Forum posts: 27
thanks for your quick answer. it works nicely.
i hope i will learn lots of things from you.
thanks again
bashar