Sounds like XY Problem, why would you want to open original menu, read its items and then create another one? Either you want to modify existing (please tell us what are you trying to achieve) or mimic explorer's menu, to cheat the user?
↧