We have a right click menu event and based on where the cursor is located at the moment of the right click a different default meu appears. We want to add our custom menu items to the end of the default right menu that comes up but need to know the name of the default menu coming up so as to attach ot it. There is a selection object in the function handling right click event but none of the methods there bring back the menu name or ID. Is there a way to get that menu name of ID so as to attach to it and add our menus? Thank you
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Right Click menu name (2000 – 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Right Click menu name (2000 – 2003)
- This topic has 4 replies, 3 voices, and was last updated 16 years, 9 months ago.
AuthorTopicWSJim Bassett
AskWoody LoungerAugust 6, 2008 at 7:01 am #452968Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerAugust 6, 2008 at 7:57 am #1119985Word has lots of shortcut menus.
– Select Tools | Customize…
– Activate the Toolbars tab.
– Tick “Shortcut Menus”.
– This will display a toolbar with three dropdown menus: Text, Table and Drawing.
– The items in each of these dropdown menus are the names of the various shortcut menus.
– The items of the shortcut menus are shown as submenus.
The “default” shortcut menu is named Text. -
WSd0njudd
AskWoody LoungerAugust 6, 2008 at 8:19 am #1119987(Edited by HansV to make URL clickable – see Help 19)
Jim and I are working together on this. What we mean is that we want to determine, programattically on WindowBeforeRightClick what the default context menu name is. For example, when they are in a table, the context menu name will be “Table Lists”. There are many, many contect menus (see http://support.microsoft.com/kb/107224%5B/url%5D) and it is one of these names that I want to know so I can ID whether to attach another menu item to it. Thanks!
-
WSHansV
AskWoody LoungerAugust 6, 2008 at 8:25 am #1119990Welcome to Woody’s Lounge!
As far as I know, there is no built-in way to determine which shortcut menu will be activated; you’d have to find out by inspecting the properties of the current selection using Selection.Information. but I suspect it won’t be easy, if it is possible at all, to cover all situations.
-
WSd0njudd
AskWoody LoungerAugust 6, 2008 at 8:31 am #1119992That is the conclusion I am coming to. It’s a bit like driving blind, not knowing what the user is handing you when you get a menu. Silly actually. Maybe I will escalate this to Microsoft directly. If there is no answer I will have to cover ALL menus to so that one that is right-clicked shows my menu item attached, and that doesn’t seem right. This is pretty common. I would think Microsoft has an answer somewhere.
Regards, Don
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Lumma malware takedown
by
EyesOnWindows
52 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
2 hours, 25 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
2 hours, 20 minutes ago -
Meet Gemini in Chrome
by
Alex5723
6 hours, 25 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
6 hours, 33 minutes ago -
Trump signs Take It Down Act
by
Alex5723
14 hours, 32 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
1 hour, 42 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 hours, 13 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
17 hours, 52 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
23 hours, 1 minute ago -
hibernate activation
by
e_belmont
1 day, 2 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 6 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day, 9 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day, 9 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
5 hours, 45 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 14 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 21 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 4 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
45 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days, 9 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 7 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
6 hours, 36 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
1 day ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
14 minutes ago -
Apps included with macOS
by
Will Fastie
1 day, 4 hours ago -
Xfinity home internet
by
MrJimPhelps
1 day, 1 hour ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
2 days, 2 hours ago -
Debian 12.11 released
by
Alex5723
3 days, 6 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
3 days, 10 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days, 13 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.