The client application receives long tap events through the MAknLongTapDetectorCallBack interface.
Use the method HandleLongTapEventL to perform actions when the long-tap event is received.
void CMyContainer::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation) { // perform your actions when the event is received }