uifw/AvKon/src/AknAdaptiveSearchGrid.cpp
branchRCL_3
changeset 16 71dd06cfe933
parent 10 9f56a4e1b8ab
child 18 0aa5fbdfbc30
equal deleted inserted replaced
15:08e69e956a8c 16:71dd06cfe933
   423         button->SetObserver( this );        
   423         button->SetObserver( this );        
   424         button->SetContainerWindowL( *this ); 
   424         button->SetContainerWindowL( *this ); 
   425         button->SetBackground(this);
   425         button->SetBackground(this);
   426         button->SetTextColorIds( KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG65 );
   426         button->SetTextColorIds( KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG65 );
   427         button->ActivateL();
   427         button->ActivateL();
       
   428         button->MakeVisible( EFalse );
   428         return button;
   429         return button;
   429         }
   430         }
   430     else
   431     else
   431         {
   432         {
   432         CleanupStack::PopAndDestroy( button );
   433         CleanupStack::PopAndDestroy( button );
   984         {   
   985         {   
   985         iNextButton->MakeVisible( ETrue );  
   986         iNextButton->MakeVisible( ETrue );  
   986         iPrevButton->MakeVisible( ETrue );          
   987         iPrevButton->MakeVisible( ETrue );          
   987         iPageIndicator->MakeVisible( ETrue );   
   988         iPageIndicator->MakeVisible( ETrue );   
   988         }
   989         }
   989     iCloseButton->MakeVisible( ETrue );
   990     if(iGridChars)
   990     iDeleteButton->MakeVisible( ETrue );
   991         {
       
   992         iCloseButton->MakeVisible( ETrue );
       
   993         iDeleteButton->MakeVisible( ETrue );
       
   994         }
       
   995     else
       
   996         {
       
   997         iCloseButton->MakeVisible( EFalse );
       
   998         iDeleteButton->MakeVisible( EFalse );
       
   999         }
   991     }
  1000     }
   992     
  1001     
   993 // -----------------------------------------------------------------------------
  1002 // -----------------------------------------------------------------------------
   994 // CAknAdaptiveSearchGrid::AdaptiveSearchGridShowL()
  1003 // CAknAdaptiveSearchGrid::AdaptiveSearchGridShowL()
   995 // Makes adaptive search grid visible and activates it.
  1004 // Makes adaptive search grid visible and activates it.