Re: Intercepting right mouse click - MS Word 2000>
- From: "Doug Robbins - Word MVP" <dkr@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jan 2008 12:10:21 +1000
Customize the relevant right click (Short cut) menu(s) by adding a button
that calls the macro that causes the form to be displayed.
To do that, select Customize from the Tools menu and then go to the Toolbars
tab of the Customize dialog and check the "Shortcut Menus" toolbar. Then go
to the Commands tab and from the Macros Categorym select the command (macro)
and drag it onto the expanded short cut toolbar(s)
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"Ian B" <ian@(TakeOut)docspro.co.nz> wrote in message
news:O9QqxYUYIHA.5348@xxxxxxxxxxxxxxxxxxxxxxx
Hi All
This is probably getting outside Word, but its Word and VBA I'm working
with.
I need to intercept a right mouse click when editing a word document and
then showing a form (VB/VBA) of my own.
I have experimented with Spy++ (distributed with VB6) and while I can see
messages from other mouse clicks, I cannot see any WM_RBUTTONxxx messages
from a right mouse click.
I suspect this is because Word may be intercepting the message before
Spy++
sees it.
I'm at (if not beyond!) my programming ability with this so any pointers
greatly appreciated.
Ian B
.
- Follow-Ups:
- Re: Intercepting right mouse click - MS Word 2000>
- From: Ian Bayly
- Re: Intercepting right mouse click - MS Word 2000>
- References:
- Intercepting right mouse click - MS Word 2000>
- From: Ian B
- Intercepting right mouse click - MS Word 2000>
- Prev by Date: Intercepting right mouse click - MS Word 2000>
- Next by Date: Re: Intercepting right mouse click - MS Word 2000>
- Previous by thread: Intercepting right mouse click - MS Word 2000>
- Next by thread: Re: Intercepting right mouse click - MS Word 2000>
- Index(es):
Relevant Pages
|