Hi, how can I select another application's main menu (such as File) without using Sendkeys (which might be interfered with by the user)? If the menu isn't a dropdown menu, you can use GetMenuItemID and then PostMessage to call the menu, but GetMenuItemID returns -1 if the menu is a dropdown.

If you're curious why I need to select a main menu item, it's because my app replicates another menu and one of the external menus has dynamically enabled/disabled submenus that aren't enabled/disabled until the Edit menu (which has 28 submenus) is selected.

Thanks in advance,
Wade