So far I can find the exact MenuItem ("&Close") from the "File" menu using the GetMenu, GetSubMenu, GetMenuItemCount and loop through the content of a "File" SubMenu. Now that I found the "&Close" MenuItem (confirmes by the GetMenuString, I want to "simulate" a "Click."
Since the MenuItem has it's ID from GetMenuItemID, how can I find the handle so that I can SendMessage or PostMessage.
Thank you for your time,
Mark
Since the MenuItem has it's ID from GetMenuItemID, how can I find the handle so that I can SendMessage or PostMessage.
Thank you for your time,
Mark