PDA

Click to See Complete Forum and Search --> : Dropdown menu in ActiveX control


greg_quinn
Feb 27th, 2004, 06:14 AM
From what I've seen its impossible to add dropdown menus to an ActiveX control.

But is it?

If so, can anybody point me to a component/control vendor that makes a control that allows me to have menus in my ActiveX control?

Thanks

greg_quinn
Feb 27th, 2004, 06:28 AM
Never mind,

I found out how to do this...

http://www.vb-helper.com/howto_activex_control_with_menubar.html

When running the project, make sure you call the ShowMenu method to shwo the menu!

I can't believe something like this takes 2 hours to find!!!

greg_quinn
Feb 27th, 2004, 12:05 PM
Well, that didn't work out too well.

All works in the VB IDE when testing the activex control, but when you actually deply the control to a cab and view it off a web page, you get the error that ActiveX controls may only display modal windows and not forms (which is what this menu is on)

So I'm stuck again, does anybody know of a menu control that lets you create menus for an ActiveX control?

It must basically be a menu component that doesn't rely on the built-in vb6 menu editor. It must be a standalone menu.