Hi,
I am trying to create a tuturial within my software in vb.net. The code will take the current mouse position, move it over the relevant menu header (e.g. file) and click, move to relevant item (e.g. New) and click etc.
There does not appear to be a raiseMouseEvent for the menu items so I cannot get the mouse to click the "FileMenu" ToolStripMenuItem for instance. Neither does FileMenu.PerformClick seem to expand the menu when run in code.
I can fire the NewToolStripMenuItem.PerformClick but the menu structure is still hidden so the user cannot see what has happened.
Does anyone have any ideas?
Many Thanks,
Julian
I am trying to create a tuturial within my software in vb.net. The code will take the current mouse position, move it over the relevant menu header (e.g. file) and click, move to relevant item (e.g. New) and click etc.
There does not appear to be a raiseMouseEvent for the menu items so I cannot get the mouse to click the "FileMenu" ToolStripMenuItem for instance. Neither does FileMenu.PerformClick seem to expand the menu when run in code.
I can fire the NewToolStripMenuItem.PerformClick but the menu structure is still hidden so the user cannot see what has happened.
Does anyone have any ideas?
Many Thanks,
Julian