equal
deleted
inserted
replaced
2610 TBool aTransparent, |
2610 TBool aTransparent, |
2611 TBool aIsFaded ) |
2611 TBool aIsFaded ) |
2612 { |
2612 { |
2613 if ( aParentWindowGroup ) |
2613 if ( aParentWindowGroup ) |
2614 { |
2614 { |
2615 MakeVisible( EFalse ); |
2615 |
2616 |
|
2617 SetMopParent( iEikonEnv->EikAppUi() ); |
2616 SetMopParent( iEikonEnv->EikAppUi() ); |
2618 SetParent( NULL ); |
2617 SetParent( NULL ); |
2619 |
2618 |
2620 // Maintain the window's ordinal position. |
2619 // Maintain the window's ordinal position. |
2621 TInt ordinalPos = Window().OrdinalPosition(); |
2620 TInt ordinalPos = Window().OrdinalPosition(); |
2624 { |
2623 { |
2625 CloseWindow(); |
2624 CloseWindow(); |
2626 } |
2625 } |
2627 |
2626 |
2628 CreateWindowL( aParentWindowGroup ); |
2627 CreateWindowL( aParentWindowGroup ); |
2629 |
2628 |
2630 RWindow& window = Window(); |
2629 RWindow& window = Window(); |
2631 if ( aRedrawStoreHandler ) |
2630 if ( aRedrawStoreHandler ) |
2632 { |
2631 { |
2633 aRedrawStoreHandler->SetStore( &window, KEnableRedrawStoring ); |
2632 aRedrawStoreHandler->SetStore( &window, KEnableRedrawStoring ); |
2634 } |
2633 } |
2635 |
2634 |
2650 window.SetNonFading( !LafStatusPaneContainer::AllowFading() ); |
2649 window.SetNonFading( !LafStatusPaneContainer::AllowFading() ); |
2651 EnableDragEvents(); |
2650 EnableDragEvents(); |
2652 |
2651 |
2653 SetContainersL( *iControl, *this ); |
2652 SetContainersL( *iControl, *this ); |
2654 |
2653 |
|
2654 //these 2 lines is to fix the error ou1cimx1#390645 |
|
2655 MakeVisible( ETrue ); |
|
2656 MakeVisible( EFalse ); |
|
2657 |
2655 window.SetFaded( aIsFaded, RWindowTreeNode::EFadeIncludeChildren ); |
2658 window.SetFaded( aIsFaded, RWindowTreeNode::EFadeIncludeChildren ); |
2656 window.SetOrdinalPosition( ordinalPos ); |
2659 window.SetOrdinalPosition( ordinalPos ); |
2657 |
2660 |
2658 ActivateL(); |
2661 ActivateL(); |
2659 } |
2662 } |