PopupMenu DLL Intercepts commands from other controls?

Summary

Id: 7.6
Type: Bug Bug
Current Status: Open

Detail

28 Jan 2003 Open Greg Thomson

I am a frequent user of your VB controls, and I recently upgraded all my controls to the VB6 versions for better compatibility. With doing so, I noticed something very strange in the Popup Menu DLL. You could recreate the problem yourself doing this:

Open up the sample you have for VB6.

Go into the VB Menu editor, and add a menu with a couple children.

Add a command button to the form

in the form add this code

PopupMenu form.MenuName

Run the program. When you click on the Command button, you will notice that your Popup DLL intercepts the PopupMenu call somehow. I did notice after some experimenting however, that if you add the Menu's to another form, and call it like

PopupMenu otherForm.MenuName

There are no problems.