I have the index number of a menuitem in a submenu, and the handle of the submenu, so now how can I click that menu item? Do I need to use SendMessage? Do I need to get the handle of the menuitem??

Its all done through code, so Im not "clicking the menu items" individually in code, I am just navigating through the handles using the GetSubMenu api, then the GetMenuString for each item in the submenu to find the string I want. That gives me the index number, then I essentially need to initiate a click at that index number in the submenu...