uifw/AvKon/src/AknSettingPage.cpp
branchRCL_3
changeset 25 941195f2d488
parent 23 3d340a0166ff
child 51 fcdfafb36fe7
equal deleted inserted replaced
23:3d340a0166ff 25:941195f2d488
    49 #include <akntransitionutils.h>
    49 #include <akntransitionutils.h>
    50 #include <touchfeedback.h>
    50 #include <touchfeedback.h>
    51 #include <akntranseffect.h>
    51 #include <akntranseffect.h>
    52 #include "aknitemactionmenuregister.h"
    52 #include "aknitemactionmenuregister.h"
    53 #include "aknqueryeditorindicator.h"
    53 #include "aknqueryeditorindicator.h"
       
    54 
       
    55 
       
    56 
       
    57 //
       
    58 // the function's definition is in the AknNoteDialog.cpp
       
    59 //
       
    60 TBool IsFocusedWindowGroup( const CCoeControl* aControl );
       
    61 
    54 
    62 
    55 // This determines the maximum number of digits in the optional number displayed on the
    63 // This determines the maximum number of digits in the optional number displayed on the
    56 // top left of the setting page
    64 // top left of the setting page
    57 const TInt KAknSettingPageMaxOrdinalDigits = 3;
    65 const TInt KAknSettingPageMaxOrdinalDigits = 3;
    58 
    66 
  1423 		RestoreOriginalSettingL();
  1431 		RestoreOriginalSettingL();
  1424 		if ( iSettingPageObserver )
  1432 		if ( iSettingPageObserver )
  1425 			iSettingPageObserver->HandleSettingPageEventL(this, MAknSettingPageObserver::EEventSettingCancelled);
  1433 			iSettingPageObserver->HandleSettingPageEventL(this, MAknSettingPageObserver::EEventSettingCancelled);
  1426 		}
  1434 		}
  1427 	
  1435 	
  1428 	if ( GfxTransEffect::IsRegistered( this ) )
  1436 	if ( GfxTransEffect::IsRegistered( this ) && IsFocusedWindowGroup( this ) && IsVisible() )
  1429 	    {
  1437 	    {
  1430         GfxTransEffect::Begin( this, KGfxControlDisappearAction );
  1438         GfxTransEffect::Begin( this, KGfxControlDisappearAction );
  1431         MakeVisible( EFalse );
  1439         MakeVisible( EFalse );
  1432         GfxTransEffect::End( this );
  1440         GfxTransEffect::End( this );
  1433 	    }
  1441 	    }