×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    26

    app crash on selecting "Cancel" option on a menu

    Hi,
    The problem I'm facing is that I have a menu with various options.These options are switched off/on as required.The menu options are associated with the left soft key and the right soft key is always "Cancel".
    In only one particular screen, when i select the "Cancel" soft key the application crashes.The "Cancel" soft key works file on all other screens. Could anyone suggest a reason as to why this might be happening.
    Below is some code for the menu resource.
    ---------------------------------------------------------------------------------
    RESOURCE EIK_APP_INFO
    {menubar= r_proinform_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }
    RESOURCE MENU_BAR r_proinform_menubar
    {
    titles=
    {
    MENU_TITLE
    {
    menu_pane=r_proinform_options_menu;
    }
    };
    }

    RESOURCE MENU_PANE r_proinform_options_menu
    {
    items=
    {
    MENU_ITEM
    {
    command=EScanZoomCmdOnline;
    txt="Online";
    }
    ........................//more options
    }
    }
    ---------------------------------------------------------------------------

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169
    what is the cancel supposed to do there ?
    is it possible to put a breakpoint into the function the cancel button is invoking, so you could figure out the excat line giving you the crash?
    Also is there any error notes shoen during the crash ?

    yucca

Posting Permissions

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