stevemelaaron
Programmer
I need to display a popup menu upon a right-click over a textbox control. I use the PopUpMenu method to bring up the menu, however, I get some odd behavior when I try to do this. If I call PopUpMenu in the MouseDown event, you must double-click the right mouse button in order to get the popup menu to appear; if I call PopUpMenu in the MouseUp event, you don't get your popup menu at all, instead you get the Windows clipboard 'Cut/Copy/Paste/Delete' popup menu. Any ideas on how to fix this? I've tried using API calls to GetMenu/DestroyMenu in the MouseUp and MouseDown events before I display my popup menu to kill the Windows clipboard popup, but to no avail.
--Steve K.
stevemelaaron@msn.com
[sig][/sig]
--Steve K.
stevemelaaron@msn.com
[sig][/sig]