I am trying to get the handle of a menu so I can use sendmessage with wm_command to select the menu. The problem I am having is I don't know what submenus it is buried under. All I know is the name of the Menu Item. I have two questions. One, does anyone know how to recursvely scan menus to get all menu options? Secondly, once that is obtained, how do you cout an LPSTR??? I am using getmenuiteminfo in order to find the name of the menu item(mymenu.dwTypeData). I can not get it to output without a read error. If you know why, or you know how to fix the problem, please help.

Thank you very much
joe