
menus and sub-menus and sub-sub-menus
Hi Jay
Yes it's possible. Look into this sample code. Use the last parameter tag
to "connect" to the former first parameter.
Sub Button1_MouseDown(Button, Shift, X, Y)
call Menu1.RemoveAllItems()
call Menu1.AddItem("/Misc/info", "Business", "", "about")
call Menu1.AddItem("features", "Produkter", "", "about")
<------------- Look here at "features", no /
call Menu1.AddItem("/Features/overview", "Overview", "", "features")
<------- Look here too
call Menu1.AddItem("/Features/easy", "Easy come", "", "features")
call Menu1.AddItem("/Features/internet", "Internet", "", "features")
call Menu1.Popup(Button1.Left + Button1.Width, Button1.Top)
End Sub
Hope this will help you. I actually got this info from one of Microsofts
own web-pages.
Reg
Peter Karlstroem
Midrange AB, Sweden
Quote:
> Is it possible to create submenus (level 2 and 3) from the IE popup menu
> activex control? Seems like the addmenuitem function adds a menu to the
top
> level only.
> any examples would be REALLY appreciated.
> thanks.
> jay