Using resources

Softkeys with MSK are in general named with …softkeys_leftsoftkey_rightsoftkey__middlesoftkey.

Here 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: