Ok so going by the link you need to handle the softkeys ok & cancel(which are drawn in customized manner). Rectangles for both the softkeys are defined & you need to handle the pointer event under those rectangles only(iSk1Rect & iSk2Rect) , so the code inside HandlePointerEventL() would be something like:
void CYourclass::HandlePointerEventL(const TPointerEvent& aPointerEvent)
{
switch (aPointerEvent.iType)
{
case TPointerEvent::EButton1Down:
{
}
break;
case TPointerEvent::EButton1Up:
{
iClickCurrentPosition = aPointerEvent.iPosition; // TPoint iClickCurrentPosition (in header)
if (iClickCurrentPosition.iX >=iSk1Rect .iTl.iX && iClickCurrentPosition.iY >=iSk1Rect .iTl.iY &&
iClickCurrentPosition.iX <= iSk1Rect .iBr.iX && iClickCurrentPosition.iY <= iSk1Rect .iTl.iY)
{
// here the touch on button is detected
}
}
}



