This is a lengthy message but is worth looking at...

I have been trying to figure out the problem of doing a popup menu on a modal form the past few days. There are some strange behaviour that occurs to my program which I think progrmammers might be interested to know. I try calling the form (I am going to use the name frmModal) from certain places (or Events). I discovered I cannot do a popup menu on frmModal if its show method is being excuted in a "popup menu" click event (it works fine when the show method is being excuted in a "regular menu" - those on the menu bar, click event or some other control's click event). This means the popup menu that I used to call the frmModal might be still in session or something and therefore stop the popup menu on frmModal from showing up.

I have been trying to look for a solution to this, I am not sure if there are any method or API calls I can use to get around this problem. any suggestions?