|
-
Oct 3rd, 2000, 04:24 AM
#1
Thread Starter
Member
Hi,
I need to capture menu clicks in all the office application ie. Edit->Undo, Help etc.
Does anyone have any ideas.
Barend
JHB-SA
Nothing is impossible, except skiing through a revolving door.
-
Oct 3rd, 2000, 08:03 AM
#2
Fanatic Member
I think you need to subclass.
[Edited by oetje on 10-03-2000 at 09:05 AM]
-
Oct 3rd, 2000, 10:14 AM
#3
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.
-
Oct 3rd, 2000, 10:24 AM
#4
Thread Starter
Member
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?
Barend
JHB-SA
Nothing is impossible, except skiing through a revolving door.
-
Oct 3rd, 2000, 11:50 AM
#5
Fanatic Member
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.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|