Hi,
I need to capture menu clicks in all the office application ie. Edit->Undo, Help etc.
Does anyone have any ideas.
Printable View
Hi,
I need to capture menu clicks in all the office application ie. Edit->Undo, Help etc.
Does anyone have any ideas.
I think you need to subclass.
[Edited by oetje on 10-03-2000 at 09:05 AM]
You're talking about something that doesn't belong to your thread and unfortunately VB cannot subbclass something from other threads. You will have to use C/C++ for that.
Do you have any idea where I can get some examples of C/C++ code to do this? Can I write a component for my COM AddIn or do I have to write another AddIn in C?
You can use a c++ dll that does the subclassing for you in your vb program. You can get some examples on that here: www.vbaccelerator.com.Quote:
Originally posted by Serge
You're talking about something that doesn't belong to your thread and unfortunately VB cannot subbclass something from other threads. You will have to use C/C++ for that.