uifw/AvKon/src/AknPreviewPopUp.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 18 0aa5fbdfbc30
child 25 941195f2d488
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   216             !( iFlags & CAknPreviewPopUpController::EPermanentMode ) ) )
   216             !( iFlags & CAknPreviewPopUpController::EPermanentMode ) ) )
   217         {
   217         {
   218         return; 
   218         return; 
   219         }
   219         }
   220 
   220 
       
   221     // Skip disappear transition if the popup is either permanent, fixed or
       
   222     // faded. Fading status is checked because there can't be two parallel
       
   223     // effects applied to the same window.
   221     TBool useTfx = !( iFlags & CAknPreviewPopUpController::EPermanentMode 
   224     TBool useTfx = !( iFlags & CAknPreviewPopUpController::EPermanentMode 
   222             || iFlags & CAknPreviewPopUpController::EFixedMode );
   225             || iFlags & CAknPreviewPopUpController::EFixedMode ) 
       
   226                     && !Window().IsFaded();
   223     
   227     
   224     if ( useTfx && GfxTransEffect::IsRegistered( this ) )
   228     if ( useTfx && GfxTransEffect::IsRegistered( this ) )
   225         {
   229         {
   226         GfxTransEffect::Begin( this, KGfxControlDisappearAction );
   230         GfxTransEffect::Begin( this, KGfxControlDisappearAction );
   227         MakeVisible( EFalse );
   231         MakeVisible( EFalse );