uifw/AvKon/src/AknTransparentCameraSettingPage.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 15 08e69e956a8c
child 55 aecbbf00d063
--- a/uifw/AvKon/src/AknTransparentCameraSettingPage.cpp	Tue Apr 27 16:55:05 2010 +0300
+++ b/uifw/AvKon/src/AknTransparentCameraSettingPage.cpp	Tue May 11 16:27:42 2010 +0300
@@ -225,7 +225,16 @@
 
     // Set the current "pushed in" indication
     if ( iCurrentSelectionIndex != -1 )
-        listBox->View()->SelectItemL( iCurrentSelectionIndex );
+    	{
+    	//
+    	// SelectItemL make the view item drawn by default, SetDisableRedraw can remove flick
+    	//
+    	TBool bRedrawDisabled = listBox->View()->RedrawDisabled();
+    	listBox->View()->SetDisableRedraw( ETrue );
+
+    	listBox->View()->SelectItemL( iCurrentSelectionIndex );
+    	listBox->View()->SetDisableRedraw( bRedrawDisabled );
+    	}
 
     // Set the scroller indication off
     listBox->CreateScrollBarFrameL(ETrue);
@@ -235,7 +244,9 @@
     listBox->UpdateScrollBarsL();
     
     if(!IsBackgroundDrawingEnabled())
-            listBox->ScrollBarFrame()->DrawBackground(EFalse, EFalse);
+    	{
+    	listBox->ScrollBarFrame()->DrawBackground(EFalse, EFalse);	
+    	}
     
 
     // Force a size changed