I have my application running under VirtualUI. Because is creates a remote session, there is an issue with clipboard values being stored sometimes in Server's Clipboard and the other time in Client's Clipboard.
Behavior depends on the way user copy/paste: - Ctrl+C/V works because VirtualUI is able to capture keyboard events but; - right click + Copy/Paste does not work, environment is not able to capture the event properly and values are stored in wrong Clipboards resulting in some cases different values being copied and different being paste (if a user uses right clisc + Copy and then Ctrl + V - or the other way)
Is there a way to disable or hide Copy and Paste items on a default popup menu that comes with TEdit right click?
So far we have contacted VirtualUI developers and they confirmed the issue exists but there is nothing they can do about it. This is where we came up with this idea of hiding Copy/Paste items on default popup menu of all controls.
There is no code yet as we don't even know if it is possible
The desired solutions would be a default TEdit (or any other control) popupmenu, without Copy and Paste items.