menus and sub-menus and sub-sub-menus 
Author Message
 menus and sub-menus and sub-sub-menus

 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



Fri, 28 Jan 2000 03:00:00 GMT  
 menus and sub-menus and sub-sub-menus

 Jay,

popup menu is just 1 level.
Ikonic and mcsi menu and mcsi tree are multi-level.
I've got examples of all on my site, listed below.

Good Luck
PS

http://www.geocities.com/ResearchTriangle/6310/



Sat, 29 Jan 2000 03:00:00 GMT  
 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



Tue, 08 Feb 2000 03:00:00 GMT  
 menus and sub-menus and sub-sub-menus

Sorry,

mixed up the IE PopUp control with Ikonic Menu control. This control is
more intuitive though...
You can get it from:
http://www.microsoft.com/windows/common/ikcntrls.cab

To see the menu in work, sprint to:
http://www.microsoft.com/windows95/activex/menuW95U.htm

Reg.
Peter Karlstr?m
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



Tue, 08 Feb 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. adding menus, sub menus, and sub sub menus on runtime mode.

2. Sub Menu - Child Menu

3. vb4 Dynamic sub sub menus???

4. Sub - Sub Menu

5. Sub - Sub Menu

6. Creating New menu and sub menu items all through code

7. Finding and Acting Upon Sub Menu Items In a Menu

8. Biulding a menu, sub-menu at run time.

9. Find out a sub-menu's parent menu

10. vb5 Customize Toolbars/menus -- can you define sub-menus

11. Menus, submenus, & sub-submenus in realtime code

12. count elements in root, sub root sub-sub root treeview

 

 
Powered by phpBB® Forum Software