Using resources

Softkeys with MSK included are in general named with …softkeys_leftsoftkey_rightsoftkey__middlesoftkey.

Below is an example of softkey resources without and with MSK:

RESOURCE CBA r_avkon_softkeys_ok_cancel
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON {id=EAknSoftkeyOk; txt=text_softkey_ok;},
        CBA_BUTTON {id=EAknSoftkeyCancel; txt= text_softkey_cancel;}
        };
    }

RESOURCE CBA r_avkon_softkeys_ok_cancel__ok
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON {id=EAknSoftkeyOk; txt=text_softkey_ok;}, // left softkey
        CBA_BUTTON {id=EAknSoftkeyCancel; txt= text_softkey_cancel;}, // right
        CBA_BUTTON {id=EAknSoftkeyOk; txt=text_softkey_ok;} // MSK
        };
    }

The following softkey resources in Avkon have MSK defined:

  • r_avkon_softkeys_empty

  • r_avkon_softkeys_empty_with_ids

  • r_avkon_softkeys_ok_empty

  • r_avkon_softkeys_ok_cancel

  • r_avkon_softkeys_ok_details

  • r_avkon_softkeys_cancel

  • r_avkon_softkeys_back

  • r_avkon_softkeys_close

  • r_avkon_softkeys_yes_no

  • r_avkon_softkeys_unlock_empty

  • r_avkon_softkeys_show_cancel

  • r_avkon_softkeys_show_exit

  • r_avkon_softkeys_answer_exit

  • r_avkon_softkeys_exit

  • r_avkon_softkeys_read_exit

  • r_avkon_softkeys_listen_exit

  • r_avkon_softkeys_quit

  • r_avkon_softkeys_insert_back

  • r_avkon_softkeys_select_cancel__select

  • r_avkon_softkeys_select_back__select

  • r_avkon_softkeys_ok_cancel__mark

  • r_avkon_softkeys_ok_cancel__ok

  • r_avkon_softkeys_ok_empty__ok

  • r_avkon_softkeys_ok_cancel__unmark

  • r_avkon_softkeys_send_cancel__send

  • r_avkon_softkeys_yes_no__yes

  • r_avkon_softkeys_show_exit__show

  • r_avkon_softkeys_call_cancel__call

  • r_avkon_softkeys_read_exit__read

  • r_avkon_softkeys_listen_exit__listen

  • r_avkon_softkeys_options_back__select

  • r_avkon_softkeys_options_done__select

  • r_avkon_softkeys_options_cancel__select

  • r_avkon_softkeys_options_exit__select

  • r_avkon_softkeys_ok_cancel__select

  • r_avkon_softkeys_ok_back__ok

  • r_avkon_softkeys_select_close__select

  • r_avkon_softkeys_next_exit__next