phonebookui/Phonebook2/UIControls/src/CPbk2NamesListControl.cpp
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 8 5586b4d2ec3e
child 11 2828b4d142c0
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
   851 
   851 
   852     iHandleMassUpdateDetected = EFalse;
   852     iHandleMassUpdateDetected = EFalse;
   853     HandleMassUpdateResetCounters();
   853     HandleMassUpdateResetCounters();
   854     iListBox.SetCurrentItemIndex(0);
   854     iListBox.SetCurrentItemIndex(0);
   855     iListBox.SetTopItemIndex(0);
   855     iListBox.SetTopItemIndex(0);
       
   856 
       
   857     //Update the items of listbox in NameListView
       
   858     iListBox.DrawDeferred();
   856     }
   859     }
   857 
   860 
   858 ///////////////////////// End of helper classes /////////////////////////////
   861 ///////////////////////// End of helper classes /////////////////////////////
   859 
   862 
   860 
   863 
   891                 iContactManager( aManager ),
   894                 iContactManager( aManager ),
   892                 iBaseView( &aView ),
   895                 iBaseView( &aView ),
   893                 iContainer( aContainer ),
   896                 iContainer( aContainer ),
   894                 iNameFormatter( aNameFormatter ),
   897                 iNameFormatter( aNameFormatter ),
   895                 iStoreProperties( aStoreProperties ),
   898                 iStoreProperties( aStoreProperties ),
   896                 iThumbManager( aThumbManager ),
   899                 iAllowPointerEvents( ETrue ),                
   897                 iAllowPointerEvents( ETrue )
   900                 iThumbManager( aThumbManager )
   898     {
   901     {
   899     }
   902     }
   900 
   903 
   901 // --------------------------------------------------------------------------
   904 // --------------------------------------------------------------------------
   902 // CPbk2NamesListControl::~CPbk2NamesListControl
   905 // CPbk2NamesListControl::~CPbk2NamesListControl
  1480 void CPbk2NamesListControl::HandlePointerEventL(
  1483 void CPbk2NamesListControl::HandlePointerEventL(
  1481     const TPointerEvent& aPointerEvent )
  1484     const TPointerEvent& aPointerEvent )
  1482     {
  1485     {
  1483     if( !iAllowPointerEvents )
  1486     if( !iAllowPointerEvents )
  1484         {
  1487         {
       
  1488 		//Passing event to listbox needed even if iCurrentState would be skipped (fix for ou1cimx1#316139)
       
  1489         iListBox->HandlePointerEventL( aPointerEvent ); 
  1485         return;
  1490         return;
  1486         }
  1491         }
  1487     if ( AknLayoutUtils::PenEnabled() )
  1492     if ( AknLayoutUtils::PenEnabled() )
  1488         {
  1493         {
  1489         iCurrentState->HandlePointerEventL( aPointerEvent );
  1494         iCurrentState->HandlePointerEventL( aPointerEvent );