diff -r e1bea15f9a39 -r 79859ed3eea9 widgets/widgetapp/src/WidgetUiWindowContainer.cpp --- a/widgets/widgetapp/src/WidgetUiWindowContainer.cpp Thu Aug 19 10:58:56 2010 +0300 +++ b/widgets/widgetapp/src/WidgetUiWindowContainer.cpp Tue Aug 31 16:17:46 2010 +0300 @@ -23,21 +23,21 @@ #include -#include +#include #include #include -#include +#include #include #include -#include +#include #include // CAknMessageQueryDialog -#include +#include #include -#include -#include +#include +#include // EXTERNAL DATA STRUCTURES @@ -154,6 +154,8 @@ // void CWidgetUiWindowContainer::SizeChanged() { + TInt offset( 0 ); + if( Engine() && (Engine()->Rect() != Rect()) ) { TRect rect( Rect() ); @@ -278,16 +280,10 @@ if (aKeyEvent.iCode == EKeyNo) { // Close the current active widget - //iWindowManager.CloseWindowsAsync(EFalse); + iWindowManager.CloseWindowsAsync(EFalse); return EKeyWasConsumed; } - //Ignore application keys(EKeyApplication0-EKeyApplication1F) - if( (aKeyEvent.iCode>=EKeyApplication0 && aKeyEvent.iCode<= EKeyApplicationF) || - (aKeyEvent.iCode>=EKeyApplication10 && aKeyEvent.iCode<= EKeyApplication1F) ) - { - return EKeyWasNotConsumed; - } TKeyResponse resp(EKeyWasNotConsumed); TBool editing(EFalse); //Reset the iIsOptionsMenuActivated if enabled @@ -295,12 +291,16 @@ if (Engine()) { + TBool showStausPane(EFalse); TBrCtlDefs::TBrCtlElementType eType = Engine()->FocusedElementType(); switch(eType) { case TBrCtlDefs::EElementInputBox: case TBrCtlDefs::EElementActivatedInputBox: case TBrCtlDefs::EElementTextAreaBox: + // status pane is needed for editing + showStausPane = ETrue; + // fall through case TBrCtlDefs::EElementObjectBox: case TBrCtlDefs::EElementActivatedObjectBox: {