H
Howard Kaikow
Is the following possible?
I have a 3rd party template that comes with a product, call it XYZ.
As usual, the code appears to be sloppily written and causes the document to
be unnecessarily dirtied.
The project is protected.
Usually, using the usual techniques, I can peek at the code and determine
whether I can get around this by patching my Auto macros.
In this case, there appears to be NO code in the protected template, so I
guess there's a hook to code in an add-in for each control on the menu. and
corresponding toolbar.
I was thinking of the following general fix.
Say, a control has an OnAction that uses "TheirMacro".
I was thinking of adding my own TheirMacro, which would:
1. First, save the dirty status of the document.
2. Invoke XYZ's TheirMacro.
3. Reset the dirty status of the document, if needed.
Alas, it appears that when the OnAction is a hook, I cannot seem to find out
how to do this.
Is it possible?
I have a 3rd party template that comes with a product, call it XYZ.
As usual, the code appears to be sloppily written and causes the document to
be unnecessarily dirtied.
The project is protected.
Usually, using the usual techniques, I can peek at the code and determine
whether I can get around this by patching my Auto macros.
In this case, there appears to be NO code in the protected template, so I
guess there's a hook to code in an add-in for each control on the menu. and
corresponding toolbar.
I was thinking of the following general fix.
Say, a control has an OnAction that uses "TheirMacro".
I was thinking of adding my own TheirMacro, which would:
1. First, save the dirty status of the document.
2. Invoke XYZ's TheirMacro.
3. Reset the dirty status of the document, if needed.
Alas, it appears that when the OnAction is a hook, I cannot seem to find out
how to do this.
Is it possible?