×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Query number dialog doesn't work on N73 device. It crashes.

    Hi everybody,

    I wonder if anybody found this issue, I'm having an application that at some point uses a CAknNumberQueryDialog to query an integer value. The following code, works on every 3rd edition devices except N73 and I can't figure it out why it doesn't work on this one:

    TInt numberOfPictures = 30;
    CAknNumberQueryDialog* queryDialog = CAknNumberQueryDialog::NewL(numberOfPictures);
    queryDialog->PrepareLC(R_COMPOSE_QUERY_NUMBER);
    TBuf<128> dialogTitle;
    iEikonEnv->ReadResource(dialogTitle, LR_PICTURES_COUNT);
    queryDialog->SetPromptL(dialogTitle);

    if (queryDialog->RunLD())
    {

    }

    And the resources is:

    RESOURCE DIALOG r_compose_query_number
    {
    flags = EAknGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
    {
    DLG_LINE
    {
    type = EAknCtQuery;
    id = EGeneralQuery;
    control = AVKON_DATA_QUERY
    {
    layout = ENumberLayout;
    label = "Pictures";
    control = AVKON_INTEGER_EDWIN
    {
    min = 1;
    max = 75;
    };
    };
    }
    };
    }

    Cheers everyone!

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Query number dialog doesn't work on N73 device. It crashes.

    I had the same problem on the 5500. Setting the epocstacksize to 20kB helped.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Smile Re: Query number dialog doesn't work on N73 device. It crashes.

    Thanks Carmen, setting the epocstacksize to 20k helped me either, thx a lot.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Query number dialog doesn't work on N73 device. It crashes.

    Cool, good start for a Monday morning.

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Re: Query number dialog doesn't work on N73 device. It crashes.

    Yes, indeed, thx again ;).

Similar Threads

  1. Date Query Dialog
    By vasant21 in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-11-01, 11:50
  2. number query dialog error urgent
    By sriramadasu in forum Symbian
    Replies: 2
    Last Post: 2006-09-24, 15:56
  3. About number input field and query dialog
    By sungrass in forum Symbian
    Replies: 1
    Last Post: 2006-08-14, 13:36
  4. newbie, having problems with query dialog
    By sbwoodside in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-04-22, 07:01
  5. Text Query Dialog Cleanup
    By koayst in forum Symbian
    Replies: 1
    Last Post: 2003-05-02, 09:06

Posting Permissions

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