messagingappbase/mce/src/MceMessageListContainer.cpp
changeset 1 d09ac5c1e252
parent 0 72b543305e3a
child 12 caea42e26caa
equal deleted inserted replaced
0:72b543305e3a 1:d09ac5c1e252
   121     {
   121     {
   122     CreateWindowL();
   122     CreateWindowL();
   123     SetRect( aRect );
   123     SetRect( aRect );
   124 
   124 
   125     iListBox = new (ELeave) CMceMessageListBox( *this );
   125     iListBox = new (ELeave) CMceMessageListBox( *this );
   126     iListBox->ConstructL( this, EAknListBoxStylusMarkableList );
   126     if(aFolderId == KMsvGlobalOutBoxIndexEntryIdValue) 
       
   127         iListBox->ConstructL( this, EAknListBoxStylusMarkableList|EAknListBoxItemSpecificMenuDisabled );
       
   128     else
       
   129     	iListBox->ConstructL( this, EAknListBoxStylusMarkableList );
       
   130 		
   127     iListBox->ItemDrawer()->SetItemMarkReverse( ETrue );
   131     iListBox->ItemDrawer()->SetItemMarkReverse( ETrue );
   128     iListBox->EnableMSKObserver( EFalse );
   132     iListBox->EnableMSKObserver( EFalse );
   129 
   133 
   130     iListItems = CMceMessageListItemArray::NewL(
   134     iListItems = CMceMessageListItemArray::NewL(
   131         aSession, aFolderId, EMceListTypeMessage, aBitmapResolver );
   135         aSession, aFolderId, EMceListTypeMessage, aBitmapResolver );