B
bnk
Is there any way to capture capture copy/paste events?
That is, what we need is not ShapeAdded, but exactly Copy/Paste events.
Also, is there a way to capture Ctrl+Drag?
Our solution needs to process this events to copy some additional data
(extenal data in database) attached shapes, and we need to copy this
data at the moment when the shape is copied, to be able to paste it
later along whith the shape being pasted...
One approach I can see is redirecting standard Copy/Paste commands in
UI to custom ones, that do some activity, and then launch standard
handlers.. (DoCmd)
Another approach seems to be a clipboard monitoring. A hard way to go..
and this way seems to be dangerously close to a hack?
May be there is a simple strightforward way to capture these events?
Thanks.
That is, what we need is not ShapeAdded, but exactly Copy/Paste events.
Also, is there a way to capture Ctrl+Drag?
Our solution needs to process this events to copy some additional data
(extenal data in database) attached shapes, and we need to copy this
data at the moment when the shape is copied, to be able to paste it
later along whith the shape being pasted...
One approach I can see is redirecting standard Copy/Paste commands in
UI to custom ones, that do some activity, and then launch standard
handlers.. (DoCmd)
Another approach seems to be a clipboard monitoring. A hard way to go..
and this way seems to be dangerously close to a hack?
May be there is a simple strightforward way to capture these events?
Thanks.