textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 46 bd83ceabce89
child 56 8152b1f1763a
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   395 void CPenUiWndCtrl::ShowPenUiL(TBool /*aDimmed*/)
   395 void CPenUiWndCtrl::ShowPenUiL(TBool /*aDimmed*/)
   396     {
   396     {
   397     iCursorWnd->SetCursorVisible(EFalse);
   397     iCursorWnd->SetCursorVisible(EFalse);
   398     if (iResourceChange)
   398     if (iResourceChange)
   399         {
   399         {
       
   400         TInt curPriority = iWndGroup.OrdinalPriority();
       
   401         if ( curPriority == -1 )
       
   402             {
       
   403             // Make sure pen ui must be seen.
       
   404             LiftUpPriority();
       
   405             }
   400         ActivateL();
   406         ActivateL();
   401         iIncallBubble->SetIncallBubbleFlagsL( EAknStatusBubbleInputShow );
   407         iIncallBubble->SetIncallBubbleFlagsL( EAknStatusBubbleInputShow );
   402         MakeVisible( ETrue );
   408         MakeVisible( ETrue );
   403     	ClaimPointerGrab( ETrue );
   409     	ClaimPointerGrab( ETrue );
   404         return;
   410         return;
   531     /*********************************************************************/
   537     /*********************************************************************/
   532     //Invalidate() should be used. But I don't know why there the rect in 
   538     //Invalidate() should be used. But I don't know why there the rect in 
   533     // Draw is always full-screen in such case. So I change to DrawNow
   539     // Draw is always full-screen in such case. So I change to DrawNow
   534     // for temprory solution.
   540     // for temprory solution.
   535     /*********************************************************************/ 
   541     /*********************************************************************/ 
       
   542     if ( !IsVisible() )
       
   543         {
       
   544         return;
       
   545         }
   536     
   546     
   537     if(iShowPopup)
   547     if(iShowPopup)
   538         {        
   548         {        
   539         iPopupWnd->MakeVisible(EFalse);//This is a temproary fix due to pop up UI not updated.
   549         iPopupWnd->MakeVisible(EFalse);//This is a temproary fix due to pop up UI not updated.
   540         iPopupWnd->Invalidate(aRect);
   550         iPopupWnd->Invalidate(aRect);