uifw/AvKon/src/AknQueryDialog.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
equal deleted inserted replaced
59:978afdc0236f 64:85902f042028
  2119 				TInt line2 = FindLineIndex(*secondControl);
  2119 				TInt line2 = FindLineIndex(*secondControl);
  2120 				CEikCaptionedControl *ctrl1 = GetLineByLineAndPageIndex(line1, 0);
  2120 				CEikCaptionedControl *ctrl1 = GetLineByLineAndPageIndex(line1, 0);
  2121 				CEikCaptionedControl *ctrl2 = GetLineByLineAndPageIndex(line2, 0);
  2121 				CEikCaptionedControl *ctrl2 = GetLineByLineAndPageIndex(line2, 0);
  2122 				TryChangeFocusToL(ctrl2->iId);
  2122 				TryChangeFocusToL(ctrl2->iId);
  2123                 HandleOrientationSwitch();
  2123                 HandleOrientationSwitch();
       
  2124                 // In landscape mode, the first and second lines are at the same position, 
       
  2125                 // so set the height of first line¡¯s control to 0 to prevent it from being 
       
  2126                 // selected by touch event.
       
  2127                 ctrl1->SetSize( TSize( ctrl1->Size().iWidth, 0 ) );
  2124 
  2128 
  2125                 UpdateLeftSoftKeyL();
  2129                 UpdateLeftSoftKeyL();
  2126                 _AKNTRACE( "[%s][%s] return EFalse", "CAknMultiLineDataQueryDialog", __FUNCTION__);
  2130                 _AKNTRACE( "[%s][%s] return EFalse", "CAknMultiLineDataQueryDialog", __FUNCTION__);
  2127                 return EFalse;      		        		        		
  2131                 return EFalse;      		        		        		
  2128         		}
  2132         		}