nobody knows visualize MenuItem by code?
-
how can i open(visualize) a System.Windows.Forms.MenuItem of System.Windows.Forms.MainMenu by code? Maybe one could disassemble the ToolStripMenuItem and see what they are doing inside the ShowDropDown method. Or use Windows API to really simulate a mouse click on the menu item. how can i do this?
jaye
-
how can i open(visualize) a System.Windows.Forms.MenuItem of System.Windows.Forms.MainMenu by code? Maybe one could disassemble the ToolStripMenuItem and see what they are doing inside the ShowDropDown method. Or use Windows API to really simulate a mouse click on the menu item. how can i do this?
jaye
jaimeaye wrote:
Maybe one could disassemble the ToolStripMenuItem and see what they are doing inside the ShowDropDown method.
You could do it yourself. The MSIL Disassembler-Tool (Ildasm.exe) is part of the Framework SDK. Information on its usage can be found on MSDN.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook