Search code examples
symbians60

Can a menu item appear dimmed (not removed) in S60?


In Symbian S60 (not QT), if a menu item is not applicable to my current menu state, can I make it appear but greyed out, or is it always removed from the menu (i.e. invisible)?


Solution

  • In Symbian S60, CEikMenuPane::SetItemDimmed() removes menu options.

    In the now defunct Symbian UIQ, the same function dimmed/greyed out menu options.

    See this book.

    So just use that function and have them removed in Symbian 60 (which has merged and is just called Symbian nowadays).