uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp
changeset 19 f5bac0badc7e
parent 14 83d2d132aa58
child 22 7c5dd702d6d3
equal deleted inserted replaced
14:83d2d132aa58 19:f5bac0badc7e
   104 	}
   104 	}
   105    
   105    
   106     
   106     
   107 void CHuiRosterImpl::ShowL(CHuiControlGroup& aGroup, TInt aWhere)
   107 void CHuiRosterImpl::ShowL(CHuiControlGroup& aGroup, TInt aWhere)
   108     {
   108     {
       
   109     
       
   110     // The group will automatically accept input events once shown.
       
   111        aGroup.SetAcceptInput(ETrue);
   109     // If the group is already shown on the display, just adjust its position
   112     // If the group is already shown on the display, just adjust its position
   110     // according to the parameters.
   113     // according to the parameters.
   111     if(Find(&aGroup) != KErrNotFound)
   114     if(Find(&aGroup) != KErrNotFound)
   112         {
   115         {
   113         // It is already shown. Only adjust position.
   116         // It is already shown. Only adjust position.
   140     else
   143     else
   141         {
   144         {
   142         InsertL(&aGroup, aWhere);
   145         InsertL(&aGroup, aWhere);
   143         }
   146         }
   144 
   147 
   145     // The group will automatically accept input events once shown.
   148    
   146     aGroup.SetAcceptInput(ETrue);
       
   147 
   149 
   148     // Show all the controls of the group.
   150     // Show all the controls of the group.
   149     for(TInt i = 0; i < aGroup.Count(); ++i)
   151     for(TInt i = 0; i < aGroup.Count(); ++i)
   150         {
   152         {
   151         aGroup.Control(i).ShowL(*iDisplay);
   153         aGroup.Control(i).ShowL(*iDisplay);