--- 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