adding custom menu items to axwebbrouser Context menu [modified]
-
:-O thnks for ur suggestion Iam just building a web brouser that has some more feature like tabbed brousing in c#.net(vs2005).I thnk u dont understsand my query .I just want to append my menu item to the default contextmenu of webrouser.plz note i am using axwebrousercontrol(com). -- modified at 4:15 Wednesday 12th July, 2006
-
:-O thnks for ur suggestion Iam just building a web brouser that has some more feature like tabbed brousing in c#.net(vs2005).I thnk u dont understsand my query .I just want to append my menu item to the default contextmenu of webrouser.plz note i am using axwebrousercontrol(com). -- modified at 4:15 Wednesday 12th July, 2006
If you are using Visual Studio 2005, you can use the System.Windows.Forms.WebBrowser[^] and attach a
ContextMenuStrip
.- Nick Parker Microsoft MVP - Visual C#
My Blog | My Articles -
:-O thnks for ur suggestion Iam just building a web brouser that has some more feature like tabbed brousing in c#.net(vs2005).I thnk u dont understsand my query .I just want to append my menu item to the default contextmenu of webrouser.plz note i am using axwebrousercontrol(com). -- modified at 4:15 Wednesday 12th July, 2006
Assuming you're using vs2005, click on the context menu. It will pompt you to type an item name. To handle a click event, please follow these steps: 1) Select one menu item 2) Go to property panel->event tab (that has a lightning icon) 3) Select a click event and double-click on it 4) Go to the source file and fill in the handler function body. Best, Jun