Right click menu on Windows

Mark Brownell gizmotron at earthlink.net
Tue Aug 24 19:34:13 EDT 2004


On Tuesday, August 24, 2004, at 02:26 PM, Mark Brownell wrote:

> Is it possible to simulate a key combination click?
>
> I'm trying to simulate a (Control & C) and (Control & V) from a 
> menuPick for "copy" & "paste." I have a popup menu that allows me to 
> use a field with textLock true on mouseDown and the textLock false on 
> mouseUp. This enables the mouseDown to pass the mouse message to the 
> popup.
>
> If I can use the already perfectly working key combinations I won't 
> have to write custom handlers for these two menuPick selections.
>
> Mark

I've given up on this. I have a perfectly fine Text editor for my 
import window that works fine with Control-C, Control-V, Control-X, 
Control-Z, and Delete. So trying to call these native handlers from a 
right-click menu has caused all kinds of problems with firing off the 
mouseDown messages. So I'll just add (answer "Use Control-C") messages 
for menuPick items in the right-click menu.

Mark



More information about the use-livecode mailing list