I have a appication to load menu from resource, and want to change the menu style dynamically from "POPUP" to "STRING". I wrote the following code: pSubMenu->ModifyMenu(6,MF_BYPOSITION|MF_POPUP,(UINT)m_Menu.m_hMenu,"xxxM(&I)\tI"); m_Menu is a pop menu. And now i want to change the menu style to "STRING": pSubMenu->ModifyMenu(6,MF_BYPOSITION|MF_STRING,(UINT)IDM_RECV,"xxxM(&I)\tI"); The menu caption and icon was changed, but the menu was still "POPUP" style. Who can tell me how to solve this problem? Help!!! -- modified at 22:52 Thursday 23rd November, 2006
hi