uifw/AvKon/src/AknQueryControl.cpp
branchRCL_3
changeset 64 85902f042028
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
equal deleted inserted replaced
59:978afdc0236f 64:85902f042028
  3394 		/*For the events happening inside editor frame's rect, query control will forward
  3394 		/*For the events happening inside editor frame's rect, query control will forward
  3395 		the events to editors to handle.This is added to fix bug ESLM-85YFCH:Text editor is hard 
  3395 		the events to editors to handle.This is added to fix bug ESLM-85YFCH:Text editor is hard 
  3396 		to open in input dialog (usability). The valid area is enlarged to editor frame rect,
  3396 		to open in input dialog (usability). The valid area is enlarged to editor frame rect,
  3397 		instead of text's rect, because text rect is too small for user to tap*/
  3397 		instead of text's rect, because text rect is too small for user to tap*/
  3398 		CCoeControl* ctrl = ControlByLayoutOrNull( iQueryType );
  3398 		CCoeControl* ctrl = ControlByLayoutOrNull( iQueryType );
  3399 		if( ctrl )
  3399 		if( ctrl && !EmbeddedVirtualInput() )
  3400 			{
  3400 			{
  3401 			TPointerEvent pointerEvent( aPointerEvent );
  3401 			TPointerEvent pointerEvent( aPointerEvent );
  3402 			if( !ctrl->Rect().Contains( aPointerEvent.iPosition ) && ( NbrOfEditorLines() == 1 ) )
  3402 			if( !ctrl->Rect().Contains( aPointerEvent.iPosition ) && ( NbrOfEditorLines() == 1 ) )
  3403 				{
  3403 				{
  3404 				// for the pointerevents happening in editor frame rect, 
  3404 				// for the pointerevents happening in editor frame rect,