Results 1 to 3 of 3

Thread: Useing the AddMenu and AddmenuItem API - Help Please

  1. #1
    Guest

    Post

    Hi i need to crate new menus in runtimes and i need some help with the api that does that - any idea please ?

  2. #2
    Lively Member
    Join Date
    Jul 1999
    Posts
    99

    Post

    first use the API function Getmenu to return the window's menu handle. then, create your own menu items and append them to the windows' menu using the API function
    AppendMenu.

    Dim hMenu as Long
    hMenu = GetMenu(Me.hwnd)
    Call AppendMenu(hMenu, MF_STRING, "New Item")

  3. #3
    Guest

    Post

    Tnx Dude But - the AppendMenu api - you are missing a pramater [ ByVal lpNewItem As Any]
    Can you send me the currect code Tnx ..

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