profilesservices/FileList/Src/CFLDPopupList.cpp
changeset 2 051d34a3f367
parent 0 8c5d936e5675
child 16 8fcb49b86877
--- a/profilesservices/FileList/Src/CFLDPopupList.cpp	Thu Jan 07 12:54:49 2010 +0200
+++ b/profilesservices/FileList/Src/CFLDPopupList.cpp	Mon Jan 18 20:31:08 2010 +0200
@@ -37,7 +37,9 @@
 #include <aknlists.h>
 #include <commondialogs.mbg>
 #include <filelist.mbg>
-
+#ifdef RD_TACTILE_FEEDBACK
+#include <touchfeedback.h>
+#endif //RD_TACTILE_FEEDBACK
 // CONSTANTS
 namespace
 	{
@@ -119,14 +121,17 @@
 		 iPoint = aPointerEvent.iPosition;
 		 CancelPreview();
 		 }
-	 if ( Rect().Contains( iPoint ) )
-		 {
-		 CCoeControl::HandlePointerEventL( aPointerEvent );
-		 }
-	 else
-		 {
-		 AttemptExitL(EFalse);    
-		 }
+	if (!Rect().Contains(iPoint))
+		{
+#ifdef RD_TACTILE_FEEDBACK 
+		MTouchFeedback* feedback = MTouchFeedback::Instance();
+		if (feedback)
+			{
+			feedback->InstantFeedback(this, ETouchFeedbackBasic);
+			}
+#endif //RD_TACTILE_FEEDBACK		}
+		}
+	CAknPopupList::HandlePointerEventL(aPointerEvent);
 	 }
 // -----------------------------------------------------------------------------
 // CFLDPopupList::AttemptExitL