Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
870
Popup menu issue on interop control
posted

We are using the MS interop toolkit (2.0a) to help migrate our application from VB6 to .NET.  We are creating user controls that essentially provide the entire functionality of a form and they are hosted within VB6 midi child forms.  The user controls host a variety of controls including the NetAdvantage Ultragrid and others.  We are using 2007 V3.

This is working fine for the most part, however, we have one issue that we cannot resolve.  If a user clicks a popup menu the popup does not automatically dismiss if the toolbar looses focus.  You can click on another control on the user control, outside of the form, even drag or close the form and the popup does not dismiss.  Setting the host toolbar's visibility to false does not cause the popup to dismiss/disappear either.

popup menu floating away

Floating over invisible toolbar 

This does not happen with the MS-supplied toolbar controls.

Any help in figuring out how to resolve this would be greatly appreciated.

Dana

Parents Reply Children
No Data