textinput/peninputvkbcn/ctrlsrc/peninputvkbwindow.cpp
branchRCL_3
changeset 12 5e18d8c489d6
parent 9 e6a39382bb9c
child 16 857bebeecec0
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
   204 // (other items were commented in a header).
   204 // (other items were commented in a header).
   205 // ---------------------------------------------------------------------------
   205 // ---------------------------------------------------------------------------
   206 //
   206 //
   207 void CAknFepVkbWindow::ChangeImLayout(TInt aRange, TBool aChangeVkb)
   207 void CAknFepVkbWindow::ChangeImLayout(TInt aRange, TBool aChangeVkb)
   208     {
   208     {
       
   209 	UiLayout()->DisableLayoutDrawing(ETrue);   
   209     TInt imLayout = iDataProvider->RequestData(EAknFepDataTypeIMLayout);
   210     TInt imLayout = iDataProvider->RequestData(EAknFepDataTypeIMLayout);
   210 
   211 
   211     if ( iArrowLeftButton )
   212     if ( iArrowLeftButton )
   212         {
   213         {
   213         iArrowLeftButton->Hide( EAknFepVkbImCnZhuyin == imLayout );    
   214         iArrowLeftButton->Hide( EAknFepVkbImCnZhuyin == imLayout );    
   217         iArrowRightButton->Hide( EAknFepVkbImCnZhuyin == imLayout );    
   218         iArrowRightButton->Hide( EAknFepVkbImCnZhuyin == imLayout );    
   218         }
   219         }
   219     
   220     
   220     iClientArea->ChangeImLayout(aRange, aChangeVkb);
   221     iClientArea->ChangeImLayout(aRange, aChangeVkb);
   221     SizeChangedForTitle();
   222     SizeChangedForTitle();
       
   223     UiLayout()->DisableLayoutDrawing(EFalse);
   222     Draw();
   224     Draw();
   223     }
   225     }
   224 
   226 
   225 // ---------------------------------------------------------------------------
   227 // ---------------------------------------------------------------------------
   226 // CAknFepVkbWindow::ChangeVkbLayout
   228 // CAknFepVkbWindow::ChangeVkbLayout