textinput/peninputarc/src/peninputclient/penclientimpl.cpp
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 9 e6a39382bb9c
child 12 5e18d8c489d6
equal deleted inserted replaced
9:e6a39382bb9c 11:c8fb4cf7b3ae
   370             {
   370             {
   371             iBackgroundCtrl = CPenUiBackgroundWnd::NewL(CCoeEnv::Static()->RootWin(),bmpHandle);
   371             iBackgroundCtrl = CPenUiBackgroundWnd::NewL(CCoeEnv::Static()->RootWin(),bmpHandle);
   372             }
   372             }
   373         if(iBackgroundCtrl)
   373         if(iBackgroundCtrl)
   374             iBackgroundCtrl->Show(extend, iGlobalNotes, 
   374             iBackgroundCtrl->Show(extend, iGlobalNotes, 
   375                 iInternalPopup,priority, iResourceChange);    
   375                 iInternalPopup,priority, iResourceChange, iDataQueryIsPopped);    
   376         }
   376         }
   377     else //undim the window
   377     else //undim the window
   378         {
   378         {
   379         if(iBackgroundCtrl)
   379         if(iBackgroundCtrl)
   380 #ifdef FIX_FOR_NGA
   380 #ifdef FIX_FOR_NGA
  1158 void RPeninputServerImpl::SetGlobalNotes(TBool aFlag)
  1158 void RPeninputServerImpl::SetGlobalNotes(TBool aFlag)
  1159     {
  1159     {
  1160     iGlobalNotes = aFlag;    
  1160     iGlobalNotes = aFlag;    
  1161     }
  1161     }
  1162 
  1162 
       
  1163 void RPeninputServerImpl::SetDataQueryPopped(TBool aFlag)
       
  1164 	{
       
  1165 	iDataQueryIsPopped = aFlag;
       
  1166 	}
  1163 void RPeninputServerImpl::SetInternalPopUp(TBool aFlag)
  1167 void RPeninputServerImpl::SetInternalPopUp(TBool aFlag)
  1164     {
  1168     {
  1165 	iInternalPopup = aFlag;
  1169 	iInternalPopup = aFlag;
  1166     } 
  1170     } 
  1167     
  1171     
  1482     TBool b = IsNonFocusing();
  1486     TBool b = IsNonFocusing();
  1483     SetFocusing(EFalse);
  1487     SetFocusing(EFalse);
  1484     }
  1488     }
  1485 
  1489 
  1486 void CPenUiBackgroundWnd::Show(const TRect& aExtend, TBool aGlobalNotes, 
  1490 void CPenUiBackgroundWnd::Show(const TRect& aExtend, TBool aGlobalNotes, 
  1487     TBool aInternal, TInt aPriority, TBool aResource)
  1491     TBool aInternal, TInt aPriority, TBool aResource, TBool aDataQueryPopped)
  1488     {
  1492     {
  1489     //Show the window will cause a focus group change in global notes showing case.
  1493     //Show the window will cause a focus group change in global notes showing case.
  1490     if (!iBitmap)
  1494     if (!iBitmap)
  1491         {
  1495         {
  1492         return;    
  1496         return;    
  1515 
  1519 
  1516         Window().SetOrdinalPosition(0,aPriority);      
  1520         Window().SetOrdinalPosition(0,aPriority);      
  1517      
  1521      
  1518         // The code runs well on 5.0 platform, but on tb92,
  1522         // The code runs well on 5.0 platform, but on tb92,
  1519         // it will make the backgourd screen black purely.
  1523         // it will make the backgourd screen black purely.
  1520         //Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);   
  1524         if( aDataQueryPopped )
       
  1525         	{
       
  1526             Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);  
       
  1527         	}
  1521         }
  1528         }
  1522      else
  1529      else
  1523         {
  1530         {
  1524         Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);
  1531         Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);
  1525         }
  1532         }