Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2007

    Problem with CAknNumberQueryDialog(Lost focus)

    - I have iEdwin (CEikEdwin) in container to type text (SMS message).
    - When user presses command, i make a NumberQueryDialog like this to get number (phone number):
      TInt CMySmsContainer::GetNumber()
           TInt iNum(0);
           TBuf<128> prompt(_L("Enter tel number:"));        
           CAknNumberQueryDialog * dlg = new (ELeave) CAknNumberQueryDialog (iNum);
           return iNum;
    - But when the NumberQueryDialog (dlg) appears. I can't type number on it.
    Focusing is not in this NumberQueryDialog, but it still in iEdwin.
    So when pressing keys, the text is continue t appear in iEdwin, and no number appear in NumberQueryDialog

    Please help me to repair this error.
    Thank you very much.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Problem with CAknNumberQueryDialog(Lost focus)

    You can try putting iEdwin->SetFocus(EFalse) and iEdwin->SetFocus(ETrue) around the query-code. However it is only a guess (I have not tested), thus when it does not help, you can still hope that someone else comes with a better idea.

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003

    Re: Problem with CAknNumberQueryDialog(Lost focus)

    Basically only remmeber seeing this kind of behaviour once, that was when I had dialog, that had a dialog which then had a third dialog in it, all modal and waiting, then the third dialog never got any keys, they all went to the second, propably nothing to do with this case, since it is using a container for the first view.


Similar Threads

  1. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  2. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  3. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  4. About 6230 Bt Problem
    By eerkek in forum Bluetooth Technology
    Replies: 17
    Last Post: 2005-02-08, 12:33
  5. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts