I've found that the code execution never returns from the mpr. So the menu is still active (though not visible) and waiting for the user to select an item. Odd that a menu could be invisible and yet still active. I'm toying with some ideas using NOWAIT and my own event processing loop, I'm hoping it will give me back enough control to formulate a workaround for this.
> Was there a solution found to this? It makes the class fairly unuseable without some kind of workaround. I just ran into this myself, and while I may decide to switch back to the bbsystray.dll in order to get my app out the door, I find it a little hard to just leave a problem like this unsolved. It doesn't make much sense. Even if you call removeiconfromsystray method and then addicontosystray the icon it still doesn't begin responding again until the entire process is terminated and restarted. I'll try a few more things and see what I come up with, but this is the only discussion about this issue that I've yet found on the net...so I thought I would see if anyone has had any luck working around this bug.
>
> > OK, I now know how to reproduce this problem. Here's the code to create the environment: it creates a form, a main prg, a project and then builds and runs the EXE. The app will hang if you:
> > - single click the tray icon
> > - move the mouse over the shortcut menu items (starting at the bottom)
> > - click empty area in the desktop to release menu
> > --> after that, the shortcut menu nolonger appears when I click on the icon.
>
>
Craig Boyd
www.sweetpotatosoftware.com