Problem with CEikEdwin

Login to reply to this topic.
Mon, 2008-09-22 07:04
Joined: 2007-07-31
Forum posts: 159

Hi all,

I have created an edit box with the following code

iSearchBox = new (ELeave) CEikEdwin();
         iSearchBox->ConstructL(EEikEdwinNoWrap,10,16,1);
         iSearchBox->SetContainerWindowL(*this);
         iSearchBox->SetExtent(TPoint(aRect.iTl.iX+10,aRect.Height()-iSearch->SizeInPixels().iHeight-30), TSize(aRect.Width()-20,15)); 
         //iSearchBox->SetBorder(TGulBorder::ESingleBlack);
         iSearchBox->SetFocus(ETrue);
         iSearchBox->SetBackgroundColorL(TRgb(255,0,0));

and called the following function in the OfferKeyEventL() of container class

iSearchBox->OfferKeyEventL(aKeyEvent,aType);

then i am facing a problem that when i press the keys of the emulator or device, it displays only the numeric value in the edit box.For example when i press the key (2abc) the edit box displays only 2 every time.

Please help me to solve this problem.I want to see charecters also in the edit box

Thanks in advance.
Brajesh...


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++


Mon, 2008-09-22 08:06
Joined: 2007-06-16
Forum posts: 52
Re: Problem with CEikEdwin

Hi..

you cna try with below method..

iSearchBox->SetInputCapabilitiesL()

Regards
vijay


ready to face

Mon, 2008-09-22 09:36
Joined: 2007-07-31
Forum posts: 159
Re: Problem with CEikEdwin

ok thanks....

can you tell me how to hide an edit control in symbian is there any function in CEikEdwin class?

Please help i want to show and hide CEikEdwin edit control.

Thanks
Brajesh...


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

Mon, 2008-09-22 09:55
Joined: 2005-11-20
Forum posts: 1248
Re: Problem with CEikEdwin

CCoeControl::MakeVisible


René Brunner

Mon, 2008-09-22 12:49
Joined: 2007-07-31
Forum posts: 159
Re: Problem with CEikEdwin

Thanks...


Life is too short ! so do as many good things as you can do...
Brajesh Kumar...
Beginner in Symbian C++

  • Login to reply to this topic.