textinput/peninputarc/src/peninputclient/penclientimpl.cpp
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 9 e6a39382bb9c
child 12 5e18d8c489d6
--- a/textinput/peninputarc/src/peninputclient/penclientimpl.cpp	Tue Apr 27 16:59:43 2010 +0300
+++ b/textinput/peninputarc/src/peninputclient/penclientimpl.cpp	Tue May 11 16:31:42 2010 +0300
@@ -372,7 +372,7 @@
             }
         if(iBackgroundCtrl)
             iBackgroundCtrl->Show(extend, iGlobalNotes, 
-                iInternalPopup,priority, iResourceChange);    
+                iInternalPopup,priority, iResourceChange, iDataQueryIsPopped);    
         }
     else //undim the window
         {
@@ -1160,6 +1160,10 @@
     iGlobalNotes = aFlag;    
     }
 
+void RPeninputServerImpl::SetDataQueryPopped(TBool aFlag)
+	{
+	iDataQueryIsPopped = aFlag;
+	}
 void RPeninputServerImpl::SetInternalPopUp(TBool aFlag)
     {
 	iInternalPopup = aFlag;
@@ -1484,7 +1488,7 @@
     }
 
 void CPenUiBackgroundWnd::Show(const TRect& aExtend, TBool aGlobalNotes, 
-    TBool aInternal, TInt aPriority, TBool aResource)
+    TBool aInternal, TInt aPriority, TBool aResource, TBool aDataQueryPopped)
     {
     //Show the window will cause a focus group change in global notes showing case.
     if (!iBitmap)
@@ -1517,7 +1521,10 @@
      
         // The code runs well on 5.0 platform, but on tb92,
         // it will make the backgourd screen black purely.
-        //Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);   
+        if( aDataQueryPopped )
+        	{
+            Window().SetFaded(ETrue,RWindowTreeNode::EFadeWindowOnly);  
+        	}
         }
      else
         {