Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to make a menu with code not the Menu Editor

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hey,
I am making a browser and I need to make a menu like File->Save with code and not the menu editor, because the user will be able to click for example Add To Favorites and the website name will be added to the favorites menu as a new sub-menu and it will go to the website when the user clicks it. So I need a code to make a custom website and customly add code to it with code in vb. Every browser has this. If you use a browser like IE you know that if you click add favorites the website appears as a new sub-menu under favorites, this is exactly what I need.
Please help me if you can, Thank You,
SHKBOBO
website:
 
How about creating a menu control array? You create a menu entry and give it an index of "0". At runtime you can add to the array using "Load mnuITEM(Integer)" where Integer is the next number available. You can find the next number by using "mnuITEM.count" Once you have created the item, you will need to set it's caption and make it visible, as new menu items default to visible=false.

Hope this helps!

David Moore
dm7941@sbc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top