Re: Enable/disable context menu items - URGENT

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi

Thanks for your quickly reply!
I think the behavior that we need to use FindControl to get the created
button before is by design.
I know that will cause performance hit.
Based on my research so far, I did not find a way to speed that. Because
there is no such a interface in Word's OM to help to tell us which context
menu is about to popup.
Also I think you may also try to compose the disable/enable as a macro
which is buildin in the Word's instance which may save some efforts.
We can use the Application.Run in C# to run the VBA macro.

Also I suggest you contact MSPSS which is more suitable to handle the
Performance related problem.
You may reach MSPSS via the link below.
http://support.microsoft.com

Thanks for your understanding!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

.


Quantcast