FaberX
Nov 13th, 1999, 03:11 PM
I need add a submenu at run-time in my application. I studied the API AppendMenu resource. This function need 4 parameters: hMenu (the handle to menu to be changed), wFlags (menu-item flags), wIDNewItem (menu-item identifier or handle of drop-down menu or submenu) and lpNewItem (menu-item content).
The MSDN help me to find the key for this function but when I insert the parameter MF_POPUP in wFlag the function fails and menu is not added. Who can help me to resolve this problem?
Thank you for the help
Contact me at fapulvir@tin.it
The MSDN help me to find the key for this function but when I insert the parameter MF_POPUP in wFlag the function fails and menu is not added. Who can help me to resolve this problem?
Thank you for the help
Contact me at fapulvir@tin.it