The normal use case is that the user opens the choice list either from the button defined by the client application or from the currently selected item arrow button. After user has made the selection the list is closed.
You can also open and close the choice list from your application using the methods CAknChoiceList::ShowChoiceListL() and CAknChoiceList::HideChoiceList().
void CMyAppContainer::OpenAndCloseChoiceListL() { // Show the user that the button opens a list of choices iChoiceList->ShowChoiceListL(); User::After( 2000000 ); iChoiceList->HideChoiceList(); }
You can determine the positioning to which direction the list will be opened by setting the choice list flags. For example:
iChoiceList->SetFlags( CAknChoiceList::EAknChoiceListPositionBottom );