Hi! I have a question about using choice list, CEikChoiceList to be exact. Here's how I declared it:
iList = new (ELeave) CEikChoiceList;
iList->SetContainerWindowL(*this);
iList->SetObserver(this);
iList->ConstructL(this,EEikChlistIncrementalMatching,9);
iList->SetExtent(TPoint(x,y),TSize(width,height));
iList->SetArrayL(iContent);
It compiles. When I click on it, the choices drop down. But after that, the other controls need redrawing. So, I thought I can put those statements in HandleControlEventL, but (and here's the problem) apparently, events on CEikChoiceList does not go to HandleControlEventL. All my other controls are handled by that function, so I'm stumped as to how to handle my choice list. I tried using HandlePointerEventL, it can detect pointers on the choice list, but that's all, the choices won't drop as opposed to not using this function. Another disadvantage of using HandlePointerEventL is my other controls won't work. So I'd like not to use HandlePointerEventL, but how can I handle events on CEikChoiceList?
Thank you in advance.