textinput/peninputgenericitut/src/peninputitutwesternuistatematchselection.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 0 eb1f2e154e89
child 12 4eb1ae11334f
--- a/textinput/peninputgenericitut/src/peninputitutwesternuistatematchselection.cpp	Mon Mar 15 12:42:02 2010 +0200
+++ b/textinput/peninputgenericitut/src/peninputitutwesternuistatematchselection.cpp	Wed Mar 31 22:08:20 2010 +0300
@@ -85,6 +85,9 @@
         MItutPropertySubscriber::EItutPropertyKeypadResourceId, 
         keypadResId);
 
+    // Show ICF, Backspace after position changed to avoid flick
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse );
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( EFalse );
     if (iOwner->DataMgr()->IsChinese())
         {
         iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight
@@ -98,7 +101,10 @@
 
 void CWesternItutUiStateMatchSelection::OnExit()
     {
+    // Hide ICF, Backspace, Arrow contrls when exit to avoid flick
     iOwner->LayoutContext()->ShowArrowBtn(0);
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( ETrue );
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( ETrue );
     iSelList->CloseWindow();
     iIcf->SetOverLapState(EFalse);
     }