Help regarding listbox further
| Tue, 2006-04-25 07:56 | |
|
Hi I have created a listbox which has 10 items say item1 item2 ....  Now I want that when item1 is selected and after click on option menu it shows what I want.But output is not what I want.I m handling only for item1 and it shows for all the items.I m giving the code. ///container  class..............// /* * ============================================================================ *  Name   : CdynamiclistboxContainer from dynamiclistboxContainer.h *  Part of  : dynamiclistbox *  Created  : 21.04.2006 by *  Implementation notes: *   Initial content was generated by Series 60 Application Wizard. *  Version  : *  Copyright: * ============================================================================ */ // INCLUDE FILES #include "dynamiclistboxContainer.h" #include <eiklabel.h>  // for example label control // ================= MEMBER FUNCTIONS ======================= // --------------------------------------------------------- // CdynamiclistboxContainer::ConstructL(const TRect& aRect) // EPOC two phased constructor // --------------------------------------------------------- // void CdynamiclistboxContainer::ConstructL(const TRect& aRect)   {   CreateWindowL();   CreateListBoxL(aRect); iListBox-> SetListBoxObserver(this);   SetRect(aRect);   ActivateL();   } // Destructor CdynamiclistboxContainer::~CdynamiclistboxContainer()   {    if(iListBox)  delete iListBox;   } // --------------------------------------------------------- // CdynamiclistboxContainer::SizeChanged() // Called by framework when the view size is changed // --------------------------------------------------------- // void CdynamiclistboxContainer::SizeChanged()   {   // TODO: Add here control resize code etc.   iListBox->SetExtent( TPoint(0,0), iListBox->MinimumSize() );     } // --------------------------------------------------------- // CdynamiclistboxContainer::CountComponentControls() const // --------------------------------------------------------- // TInt CdynamiclistboxContainer::CountComponentControls() const   {   return 1; // return nbr of controls inside this container   } // --------------------------------------------------------- // CdynamiclistboxContainer::ComponentControl(TInt aIndex) const // --------------------------------------------------------- // CCoeControl* CdynamiclistboxContainer::ComponentControl(TInt aIndex) const   {   switch ( aIndex )     {     case 0:       return iListBox;         default:       return NULL;     }   } // --------------------------------------------------------- // CdynamiclistboxContainer::Draw(const TRect& aRect) const // --------------------------------------------------------- // void CdynamiclistboxContainer::Draw(const TRect& aRect) const   {   CWindowGc& gc = SystemGc();   // TODO: Add your drawing code here   // example code...   gc.SetPenStyle( CGraphicsContext::ENullPen );   gc.SetBrushColor( KRgbGray );   gc.SetBrushStyle( CGraphicsContext::ESolidBrush );   gc.DrawRect( aRect );   } // --------------------------------------------------------- // CdynamiclistboxContainer::HandleControlEventL( //   CCoeControl* aControl,TCoeEvent aEventType) // --------------------------------------------------------- // void CdynamiclistboxContainer::HandleControlEventL(   CCoeControl* /*aControl*/,TCoeEvent /*aEventType*/)   {   // TODO: Add your control event handler code here   } void CdynamiclistboxContainer :: CreateListBoxL(const TRect&) { // if(iListBox) // { // delete iListbox; // iListBox = NULL; // } iListBox =  new(ELeave) CAknDoubleStyleListBox(); iListBox->ConstructL(this,EAknListBoxSelectionList); iListBox->SetContainerWindowL(*this); //Scrollbar Arrow   iListBox->CreateScrollBarFrameL(ETrue);   iListBox->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOn,                            CEikScrollBarFrame::EAuto);                         InitTaskList(); iListBox->HandleItemAdditionL(); // iListBox->AcivateL(); // ActivateL(); iListBox->DrawNow(); } void CdynamiclistboxContainer ::InitTaskList() { _LIT(KItemFormatString, "0\tItem No %d"); iListBox->Reset(); CDesCArray *itemList = new(ELeave) CDesCArrayFlat(10); TBuf<200> Item; for(TInt i=1;i<=10;i++) {    Item.Format(KItemFormatString,i);  //,_L("Hello"),_L("World"));  itemList->AppendL(Item); } iListBox->Model()->SetItemTextArray(itemList); iListBox->Model()->SetOwnershipType(ELbmOwnsItemArray); iListBox->SetCurrentItemIndex(0); iListBox->SetFocus(ETrue); } //For scroll bar moving TKeyResponse CdynamiclistboxContainer :: OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType) {   if(iListBox) return iListBox->OfferKeyEventL(aKeyEvent,aType); return EKeyWasNotConsumed; } void CdynamiclistboxContainer::HandleListBoxEventL(CEikListBox *  iList,TListBoxEvent  aListBoxEvent) { if((aListBoxEvent&& iList) == MEikListBoxObserver::EEventEnterKeyPressed) { TInt ci = iListBox->CurrentItemIndex(); switch(ci) { case 0: { CEikonEnv::Static()->AlertWin(_L("Migital")); break; } case 1: { CEikonEnv::Static()->AlertWin(_L("Digital")); break; } default: break; } //PlaySelectedGame(); } } TInt CdynamiclistboxContainer::GetSelectedItemIndex() { ci = iListBox->CurrentItemIndex(); return ci; } // End of File  // view class .....................................// /* * ============================================================================ *  Name   : CdynamiclistboxView from dynamiclistboxView.h *  Part of  : dynamiclistbox *  Created  : 21.04.2006 by *  Implementation notes: *   Initial content was generated by Series 60 Application Wizard. *  Version  : *  Copyright: * ============================================================================ */ // INCLUDE FILES #include  <aknviewappui.h> #include  <avkon.hrh> #include  <dynamiclistbox.rsg> #include  "dynamiclistboxView.h" #include  "dynamiclistboxContainer.h" #include  "dynamiclistbox.hrh" // ================= MEMBER FUNCTIONS ======================= // --------------------------------------------------------- // CdynamiclistboxView::ConstructL(const TRect& aRect) // EPOC two-phased constructor // --------------------------------------------------------- // void CdynamiclistboxView::ConstructL()   {   BaseConstructL( R_DYNAMICLISTBOX_VIEW1 );   } // --------------------------------------------------------- // CdynamiclistboxView::~CdynamiclistboxView() // destructor // --------------------------------------------------------- // CdynamiclistboxView::~CdynamiclistboxView()   {   if ( iContainer )     {     AppUi()->RemoveFromViewStack( *this, iContainer );     }   delete iContainer;   } // --------------------------------------------------------- // TUid CdynamiclistboxView::Id() // // --------------------------------------------------------- // TUid CdynamiclistboxView::Id() const   {   return KViewId;   } // --------------------------------------------------------- // CdynamiclistboxView::HandleCommandL(TInt aCommand) // takes care of view command handling // --------------------------------------------------------- // void CdynamiclistboxView::HandleCommandL(TInt aCommand)   {    switch ( aCommand )     {        case EAknSoftkeyBack:       {       AppUi()->HandleCommandL(EEikCmdExit);       break;       }    case EdynamiclistboxCmdAppTest1:     { TInt index;         index = iContainer->GetSelectedItemIndex(); switch(index) { case 0 : { iEikonEnv->InfoMsg( _L("Migital") );           break; } default :   break; }      break;     }     default:       {       AppUi()->HandleCommandL( aCommand );       break;       }     }   } // --------------------------------------------------------- // CdynamiclistboxView::HandleClientRectChange() // --------------------------------------------------------- // void CdynamiclistboxView::HandleClientRectChange()   {   if ( iContainer )     {     iContainer->SetRect( ClientRect() );     }   } // --------------------------------------------------------- // CdynamiclistboxView::DoActivateL(...) // // --------------------------------------------------------- // void CdynamiclistboxView::DoActivateL(  const TVwsViewId& /*aPrevViewId*/,TUid /*aCustomMessageId*/,  const TDesC8& /*aCustomMessage*/)   {   if (!iContainer)     {     iContainer = new (ELeave) CdynamiclistboxContainer;     iContainer->SetMopParent(this);     iContainer->ConstructL( ClientRect() );     AppUi()->AddToStackL( *this, iContainer );     }  } // --------------------------------------------------------- // CdynamiclistboxView::DoDeactivate() // // --------------------------------------------------------- // void CdynamiclistboxView::DoDeactivate()   {   if ( iContainer )     {     AppUi()->RemoveFromViewStack( *this, iContainer );     }     delete iContainer;   iContainer = NULL;   } // End of File //.rss class....................................// /* * ============================================================================ *  Name   : dynamiclistbox.rss *  Part of  : dynamiclistbox *  Created  : 21.04.2006 by *  Description: *   This file contains all the resources for the dynamiclistbox. *   Initial content was generated by Series 60 Application Wizard. *  Version  : *  Copyright: * ============================================================================ */ //  RESOURCE IDENTIFIER NAME   AWIZ // 4 letter ID //  INCLUDES #include <eikon.rh> #include "dynamiclistbox.hrh" #include "dynamiclistbox.loc" #include <avkon.rsg> #include <avkon.rh> #include <avkon.mbg> //  RESOURCE DEFINITIONS RESOURCE RSS_SIGNATURE { } RESOURCE TBUF { buf = "dynamiclistbox"; } RESOURCE EIK_APP_INFO   {   status_pane = r_dynamiclistbox_status_pane;   } //---------------------------------------------------- //  //   r_dynamiclistbox_hotkeys // //---------------------------------------------------- // RESOURCE HOTKEYS r_dynamiclistbox_hotkeys   {   control =     {     HOTKEY { command = EAknCmdExit; key = 'e'; }     };   } //---------------------------------------------------- //  //   r_dynamiclistbox_view1 // //---------------------------------------------------- // RESOURCE AVKON_VIEW r_dynamiclistbox_view1   {   hotkeys = r_dynamiclistbox_hotkeys;   menubar = r_dynamiclistbox_menubar_view1;    cba   = R_AVKON_SOFTKEYS_SELECTION_LIST;     } //---------------------------------------------------- //  //   r_dynamiclistbox_menubar_view1 // //---------------------------------------------------- // RESOURCE MENU_BAR r_dynamiclistbox_menubar_view1   {   titles =     {     MENU_TITLE { menu_pane = r_dynamiclistbox_app_menu; txt = "App"; },     MENU_TITLE { menu_pane = r_dynamiclistbox_view1_menu; txt = "View"; }     };   } //---------------------------------------------------- //  //   r_dynamiclistbox_view1_menu // //---------------------------------------------------- // RESOURCE MENU_PANE r_dynamiclistbox_view1_menu   {   items =     {     MENU_ITEM { command = EdynamiclistboxCmdAppTest; txt = qtn_view1_option_item; },     MENU_ITEM { command = EdynamiclistboxCmdAppTest1; txt = qtn_view1_option_item1; }    MENU_ITEM { command = EdynamiclistboxCmdAppTest2; txt = qtn_view1_option_item2; }     };   } RESOURCE LISTBOX r_dynamic_listbox {   flags = EAknListBoxSelectionList; } //---------------------------------------------------- //  //   r_dynamiclistbox_view2 // //---------------------------------------------------- // RESOURCE AVKON_VIEW r_dynamiclistbox_view2   {   hotkeys = r_dynamiclistbox_hotkeys;   menubar = r_dynamiclistbox_menubar_view2;    cba   = R_AVKON_SOFTKEYS_SELECTION_LIST;   } //---------------------------------------------------- //  //   r_dynamiclistbox_menubar_view2 // //---------------------------------------------------- // RESOURCE MENU_BAR r_dynamiclistbox_menubar_view2   {   titles =     {     MENU_TITLE { menu_pane = r_dynamiclistbox_app_menu; txt = "App"; },     MENU_TITLE { menu_pane = r_dynamiclistbox_view2_menu; txt = "View"; }     };   } //---------------------------------------------------- //  //   r_dynamiclistbox_view2_menu // //---------------------------------------------------- // RESOURCE MENU_PANE r_dynamiclistbox_view2_menu   {   items =     {     MENU_ITEM { command = EdynamiclistboxCmdAppTest; txt = qtn_view2_option_item; }     };   } //---------------------------------------------------- //  //   r_dynamiclistbox_app_menu // //---------------------------------------------------- // RESOURCE MENU_PANE r_dynamiclistbox_app_menu   {   items =     {     MENU_ITEM { command = EdynamiclistboxCmdAppTest; txt = qtn_appl_option_item; },     MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }     };   } RESOURCE STATUS_PANE_APP_MODEL r_dynamiclistbox_status_pane   { panes = { SPANE_PANE { id = EEikStatusPaneUidNavi; type = EAknCtNaviPane; resource = r_dynamiclistbox_navi_decorator; } };   } //---------------------------------------------------- //  //   r_dynamiclistbox_navi_decorator // //---------------------------------------------------- // RESOURCE NAVI_DECORATOR r_dynamiclistbox_navi_decorator   {   type = ENaviDecoratorControlTabGroup;   control = TAB_GROUP { tab_width = EAknTabWidthWithTwoTabs;  // two tabs active = 0; tabs = { TAB {         id = EdynamiclistboxView1Tab; // from application hrh         txt = qtn_view1_tab;         }, TAB {         id = EdynamiclistboxView2Tab;         txt = qtn_view2_tab; } }; }; }       // End of File These r three files which mainly i m using. Here I got struck. Pls help me. Thanx Regards. Isha "To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution". |
|






Forum posts: 155
case EAknSoftkeyOptions:
but now I m getting linking error.
thanx
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 278
Forum posts: 155
LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
LIBRARY eikcoctl.lib avkon.lib
LIBRARY bafl.lib
whether any other required?
Thanx
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 94
Vivek
Vivek Chopra
Forum posts: 155
Doing first-stage link by name
link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma01472.
Creating library \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib and object \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp
LINK : warning LNK4005: no objects used from library \Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\EIKSRV.LIB
EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB "edll.pdb" was not found with "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB" or at "C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\edll.pdb"; lin
king object as if no debug info
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.APP"
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp"
dumpbin /exports /out:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
Microsoft (R) COFF Binary File Dumper Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
perl -S makedef.pl -Inffile "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf" -1 ?NewApplication@@YAPAVCApaApplication@@XZ "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROU
P\DYNAMICLISTBOX\WINS\DYNAMICLISTBOX.def"
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf"
lib.exe /nologo /machine:i386 /nodefaultlib /name:"DYNAMICLISTBOX.APP" /def:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\DYNAMICLISTBOX.def" /out:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\
GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
Creating library \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib and object \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
First-stage link successful
Linking...
LINK : fatal error LNK1168: cannot open \Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\DYNAMICLISTBOX\DYNAMICLISTBOX.APP for writing
Error executing link.exe.
DYNAMICLISTBOX.APP - 1 error(s), 2 warning(s)
I m not getting these errors.
Also after add the new library I did the building process again also makmake.
Thanx
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 94
Vivek
Vivek Chopra
Forum posts: 155
Isha
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 41
Amit.
Forum posts: 155
I m telling my prob again.
In mylistbox I have 10 items.Now I want that when any item is selected and I do click on option button then it shows what Iwant.
But it is showing same in all the items also I don't know from where it is getting those.
Pls help me out.
Regards
Isha
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 41
Amit.
Forum posts: 155
Thanx
Isha
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 41
Thanx
Isha
Forum posts: 155
The warnings r as follows:
uilding resources from Dynamiclistbox.rss
perl -S epocrc_ide6.pl -I "\ISHA\DYNAMICLISTBOX\DATA" -I "\ISHA\DYNAMICLISTBOX\GROUP" -I "\ISHA\DYNAMICLISTBOX\INC" -I- -I "\ISHA\DYNAMICLISTBOX\GROUP" -I "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\ISHA\DYNAMICLISTBOX\DATA\Dynami
clistbox.rss" -o"\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\DYNAMICLISTBOX\DYNAMICLISTBOX.rSC" -h"\ISHA\DYNAMICLISTBOX\DATA\DYNAMICLISTBOX.rs~" -t"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\
WINS\UDEB"
echo this is a dummy output file > "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\DYNAMICLISTBOX\DYNAMICLISTBOX.rSC.dummy"
perl -S ecopyfile.pl "\ISHA\DYNAMICLISTBOX\DATA\DYNAMICLISTBOX.rs~" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\INCLUDE\DYNAMICLISTBOX.RSG"
del "\ISHA\DYNAMICLISTBOX\DATA\DYNAMICLISTBOX.rs~"
Compiling...
Dynamiclistbox.uid.cpp
Dynamiclistboxappui.cpp
Generating Code...
Doing first-stage link by name
link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma01388.
Creating library \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib and object \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp
LINK : warning LNK4005: no objects used from library \Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\EIKSRV.LIB
EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB "edll.pdb" was not found with "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB" or at "C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\edll.pdb"; lin
king object as if no debug info
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.APP"
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp"
dumpbin /exports /out:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf" "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
Microsoft (R) COFF Binary File Dumper Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
perl -S makedef.pl -Inffile "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf" -1 ?NewApplication@@YAPAVCApaApplication@@XZ "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROU
P\DYNAMICLISTBOX\WINS\DYNAMICLISTBOX.def"
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.inf"
lib.exe /nologo /machine:i386 /nodefaultlib /name:"DYNAMICLISTBOX.APP" /def:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\DYNAMICLISTBOX.def" /out:"\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\
GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
Creating library \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib and object \Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp
del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.lib"
First-stage link successful
Linking...
LINK : warning LNK4005: no objects used from library \Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\eiksrv.lib
EDLL.LIB(UP_DLL.obj) : warning LNK4099: PDB "edll.pdb" was not found with "\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\EDLL.LIB" or at "C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\DYNAMICLISTBOX\edll.pdb"; linking objec
t as if no debug info
if exist "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp" del "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\ISHA\DYNAMICLISTBOX\GROUP\DYNAMICLISTBOX\WINS\UDEB\DYNAMICLISTBOX.exp"
DYNAMICLISTBOX.APP - 0 error(s), 4 warning(s)
Thanx
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 94
I m telling my prob again.
In mylistbox I have 10 items.Now I want that when any item is selected and I do click on option button then it shows what Iwant.
But it is showing same in all the items also I don't know from where it is getting those.
Pls help me out.
Regards
Isha
You should handle an event when list item is selected, and based on the selected item you should display your options.
I dont think you have added the logic to dynamically display these options based on the selected list item. Not sure how this is to be done though. Someone with GUI experience should be able to tell you easily whether its feasible and how
Vivek
Vivek Chopra
Forum posts: 155
I got where is the problem ? Actually I have defined strings in Menu bar in .rss and localize it in .loc file.This is the main problem.Actually whatever we do define in .rss it shows in all the items of list thats why I was getting those prob.
Now can anybody tell me how can I get what I want i.e. all items in the list must have different option.And then further operation on that options I can perform.But How?
Regards.
Isha
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".