List box not responding
| Fri, 2004-12-24 07:40 | |
|
HI
i have implemented a list with rwo options on it .But it is not responding to up down arrow keys on emulatori .e the second item doesnot get the focus inspite of pressing down key on emulator...but if i select the second option by using mouse then focus moves to the second option. my code of createlist is as follows void CDropContainerOne::CreateListL() { iListOne=new(ELeave) CAknSingleStyleListBox(); iListOne->SetContainerWindowL(*this); TResourceReader reader; // to read the list from resource iEikonEnv->CreateResourceReaderLC(reader,R_FIRST_LIST_RESOURCE); iListOne->ConstructFromResourceL(reader); CleanupStack::PopAndDestroy();// resource is read on the heap so deleted } resource file is RESOURCE LISTBOX r_first_list_resource { array_id=r_first_list_items; flags= EAknListBoxSelectionList ; } RESOURCE ARRAY r_first_list_items { items = { LBUF { txt = ABC; }, LBUF { txt = CDE; } }; } Whats the problem coming to it ........................................ : ![]() |
|






: 
Forum posts: 12
problen was coming in not inplementing offerkeyeventL() correctly