HandlePointerEventL之后触发了左键点击事件,为什么?
S60V5 单击屏幕HandlePointerEventL触发HandleListBoxEventL,HandleListBoxEventL触发HandleListBoxItemClickedL,但是为什么后面还触发了左键激活了菜单,这个是为什么呀void CMyFinanceInvestmentAccountListBox::HandlePointerEventL(const TPointerEvent& aPointerEvent)
{
if (iListBox->Rect().Contains( aPointerEvent.iPosition ))
{
iListBox->HandlePointerEventL(aPointerEvent);
}
else
{
CCoeControl::HandlePointerEventL( aPointerEvent );
}
return;
}
void CMyFinanceInvestmentAccountListBox::HandleListBoxItemClickedL(
CEikListBox* aListBox,
TListBoxEvent anEventType )
{
iListItemIndex = aListBox->CurrentItemIndex();
}
--------------------编程问答-------------------- Can you copy paste the MyDialog.Designer.cs file here?-Tuck --------------------编程问答-------------------- --------------------编程问答-------------------- mark --------------------编程问答--------------------
补充:移动开发 , Symbian