Comment utiliser HandlePointerEventL() d'un control

Login to reply to this topic.
Wed, 2004-06-09 11:12
Joined: 2004-06-01
Forum posts: 38
Voila mon probleme, je dispose d'un objet de type CEikTextListBox, et j'aimerai utiliser sa méthode HandlePointerEventL() mais je sais pas quelle syntaxe il faut utiliser.....Je sais comment implémenter cette méthode quand elle est appliquée à une vue entière mais pas quand elle est appliquée à un control (dans mon CEikTextListBox) en particulier.....
voici la construction de mon control:

//----------------------------------------------------------
MyList= new(ELeave) CEikTextListBox;
CleanupStack::PushL(MyList);
MyList->SetContainerWindowL(*this);
MyList->ConstructL(this,0);
MyList->SetObserver(this);
MyList->CreateScrollBarFrameL();
MyList->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto);
MyList->SetBorder(TGulBorder::EDeepRaisedWithOutline);
iArrayGolf = ((CDesCArray *) ListeGolf->Model()->ItemTextArray());
// l'ajout d'element se fait dans le ViewConstrucL()
CleanupStack::Pop();
iControls->AppendL(MyList);
iFocusedControl=iControls->At(EOutputMyList);
//-----------------------------------------------------------------

merci de votre aide.

-----------------------------------------------------------

BnJ, Developpeur Beta 2

  • Login to reply to this topic.