How to close ?
Is there a way to close the menu when user clicks somewhere else or press the ESCape key?
How i know that which menu item is cliked ?
code is correct .....
but how i know that which item u clicked
because command class don't provide way, that which u item u have selected
if u find the answer then mail me