hi everyone,
i got problem with checkbox menu item
I declared this in resource:

Code:
RESOURCE MENU_PANE r_autoshare_menu
    {
    items=
        {
        MENU_ITEM { command=EMP3PlayerCmdAutoshareOn;  txt="On";  flags = EEikMenuItemCheckBox;},
        MENU_ITEM { command=EMP3PlayerCmdAutoshareOff;  txt="Off"; flags = EEikMenuItemCheckBox;}
        };
    }
and code:
Code:
		if (iAutoShare)
			{
			aMenuPane->SetItemButtonState(EMP3PlayerCmdAutoshareOn,
					EEikMenuItemSymbolOn );
			aMenuPane->SetItemButtonState(EMP3PlayerCmdAutoshareOff,
					EEikMenuItemSymbolIndeterminate );
			}
		else
			{
			aMenuPane->SetItemButtonState(EMP3PlayerCmdAutoshareOn,
					EEikMenuItemSymbolIndeterminate );
			aMenuPane->SetItemButtonState(EMP3PlayerCmdAutoshareOff,
					EEikMenuItemSymbolOn);
			}
it worked fine in emulator,
but in real device (N95) it not work, when i select menu, it stay on screen and doesn't vanish till i switch to another view, just 2 above menuitem On/Off still on screen, all other menu will disappear after i select.
On emulator it worked fine, it turn checkbox to On/off properly and disappear. can some one help me resolve this
Thankyou very much