Hi I'm using CEikEdwin to get input
Problem is when I try run on device (6120 classic), press * -> open special character table, and press select -> error happen, the error is something like "myAppName 1"
but when I try on e72 or emulator it not error
How to fix this?
My code for creating edwin is like this
ThanksCode:void CSearchContainer::CreateEdwin() { TRect screen; AknLayoutUtils::LayoutMetricsRect(AknLayoutUtils::EScreen, screen); TInt flag = EEikEdwinWidthInPixels | EAknEditorTextInputMode | EAknEditorNumericInputMode | EEikEdwinResizable | EAknEditorFlagNoT9; TBuf<5> none; none.Copy(_L("")); MAknsSkinInstance* skin = AknsUtils::SkinInstance(); TRgb color; TCharFormat charFormat; TCharFormatMask charFormatMask; if (AknsUtils::GetCachedColor(skin, color, KAknsIIDQsnComponentColors, EAknsCIQsnTextColorsCG1) == KErrNone) charFormat.iFontPresentation.iTextColor = KRgbDarkGray; const CFont* logicalFont = AknLayoutUtils::FontFromId(EAknLogicalFontPrimarySmallFont); charFormat.iFontSpec.iHeight = 180; charFormat.iFontSpec = logicalFont->FontSpecInTwips(); charFormatMask.SetAll(); charFormatMask.SetAttrib(EAttColor); charFormatMask.SetAttrib(EAttFontTypeface); charFormatMask.SetAttrib(EAttFontHeight); charFormatMask.SetAttrib(EAttFontStrokeWeight); charFormat.iFontSpec.iFontStyle.SetStrokeWeight(EStrokeWeightBold); CCharFormatLayer* cCharFL = CCharFormatLayer::NewL(charFormat, charFormatMask); iEdwinSearch = new (ELeave) CEikEdwin(); iEdwinSearch->ConstructL(flag, 0, 40, 0); iEdwinSearch->SetContainerWindowL(*this); iEdwinSearch->SetTextL(&none); iEdwinSearch->SetCharFormatLayer(cCharFL); iEdwinSearch->SetFocus(ETrue); DrawDeferred(); }



