Overriding Built-in Functions

1

100kph

Hi,

I Noticed that We could override copy/paste in Word by writting VBA
function skeletons like


Sub EditCopy()
MsgBox "EditCopy()"
End Sub

Sub EditPaste()
MsgBox "EditPaste()"
End Sub



I need to do this in VC++.


Any idea how could i Cause a sink/function in VC++ be called when a
copy/paste is executed ?


Bests!,

adk
 
C

Cindy M -WordMVP-

I Noticed that We could override copy/paste in Word by writting VBA
function skeletons like

Sub EditCopy()
MsgBox "EditCopy()"
End Sub

Sub EditPaste()
MsgBox "EditPaste()"
End Sub

I need to do this in VC++.

Any idea how could i Cause a sink/function in VC++ be called when a
copy/paste is executed ?
You can't do this outside a Word VBA project. Word doesn't provide an
event sink for these actions. With Word 2007 you should be able to
manage this.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top