Results 1 to 2 of 2

Thread: Add SubMenus at run-time

  1. #1

    Thread Starter
    New Member
    Join Date
    May 1999
    Location
    Catania, Italy
    Posts
    2

    Post

    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 [email protected]

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Aaron Young has answered this question, so check this messages.
    http://www.vb-world.net/ubb/Forum1/HTML/009787.html
    http://www.vb-world.net/ubb/Forum1/HTML/008096.html

    ------------------
    smalig
    [email protected]
    smalig.tripod.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width