Posted: 4 Nov 2016 13:31 EDT Last activity: 6 Nov 2018 20:02 EST
Unable to get "Add Menu Items" from Jmenu bar - Openspan
I'm trying to get the menu items from a Virtual menu bar which is a JMenu(javax.swing.JMenu). When I right click the control in the Object explorer, I can see only "Add Context Menu Items" and not the "AddMenu items". What could be the issue?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Remember we talked about this same problem last month in ask the expert. Here is my response from then and it still applies.
This has required a little digging. The best answer I have at this point is that we support native Window context menus and .NET 2.0 context menus. My understanding is that we are listening for WM_CONTEXTMENU messages and support controls which use TrackPopupMenuEx to display the context menu. If you have a context menu that you are not able to capture, the best course of action is to put in a support ticket and request support.
This time am unable to add Menu Items from a menu bar and not the context menu's. If the same scenario applies to menu as well then fine, let me check for other options in the application to trigger that operation without using menu click.