Q: How can I replace the built-in popup menu with my own?
The popup menu is displayed after the mouse is released, that means right after the MouseUp event occurs. By implementing a MouseUp event handler and using the CancelMode method, you can cancel the menu so it isn't displayed at all :
SftMask1.CancelMode
If you use the CancelMode method in the MouseUp event, the built-in menu is not displayed and you can perform any other type of processing, including displaying your own popup menu.
|