calendarui/views/src/calenmonthcontainer.cpp
branchRCL_3
changeset 20 9c5b1510919f
parent 15 9711e452b5e9
child 25 bf573002ff72
equal deleted inserted replaced
18:d68a4b5d5885 20:9c5b1510919f
  1623 		    time.SetTimeLocalL( newActiveDay );
  1623 		    time.SetTimeLocalL( newActiveDay );
  1624 		    iServices.Context().SetFocusDateL( time,
  1624 		    iServices.Context().SetFocusDateL( time,
  1625         		                                 TVwsViewId( KUidCalendar, KUidCalenMonthView ) );
  1625         		                                 TVwsViewId( KUidCalendar, KUidCalenMonthView ) );
  1626             
  1626             
  1627             SetActiveDayL( newActiveDay );
  1627             SetActiveDayL( newActiveDay );
  1628             iServices.IssueCommandL( ECalenWeekView );
  1628             //iServices.IssueCommandL( ECalenWeekView );
       
  1629             iServices.IssueCommandL( ECalenForwardsToWeekView );
  1629             }
  1630             }
  1630         }
  1631         }
  1631 
  1632 
  1632     TRACE_EXIT_POINT;
  1633     TRACE_EXIT_POINT;
  1633     }
  1634     }
  1660     if(AknLayoutUtils::PenEnabled())
  1661     if(AknLayoutUtils::PenEnabled())
  1661         {
  1662         {
  1662         CCoeControl* control( NULL );
  1663         CCoeControl* control( NULL );
  1663         if(aPointerEvent.iType == TPointerEvent::EButton1Down)
  1664         if(aPointerEvent.iType == TPointerEvent::EButton1Down)
  1664             {
  1665             {
       
  1666             this->GenerateTactileFeedback(); //Tactile feedback.
  1665             control = iLayoutManager->ControlOrNull();
  1667             control = iLayoutManager->ControlOrNull();
  1666             if(control)
  1668             if(control)
  1667                 {
  1669                 {
  1668                 if(control->Rect().Contains(aPointerEvent.iPosition))
  1670                 if(control->Rect().Contains(aPointerEvent.iPosition))
  1669                     {
  1671                     {