02-10-2012 11:04 AM
Greetings all!
Goal: To create a runtime right click menu item for displaying in hex or ascii in a string indicator. (the same way it's available in the developer mode)
So far:
I have used the "shortcut Menu editor" to create the menu items for a string indicator "Dispay Hex" "Display ASCII"
I have a event registered to that indicator for the event "Shortcut Menu Activation?"
Problem:
However, i'm at a loss as to how to retrieve whatever menu item I select. The Getmenuselection generates an error that halts the program.
Additionally I would like to have a check box next to the correct selection depending on how the information in the indicator is displayed.
--Eximo
02-10-2012 11:13 AM
Have you tried in that way?
Andrey.
02-10-2012 11:17 AM
In addition - you don't need to handle Shortcut Menu Activation?. Normally you need this if you want to add some items dynamically, like this:
02-10-2012 12:20 PM
What about putting the check next to the menu item? How is that accomplished?
02-10-2012 01:32 PM
What do you want the check to represent?
It sounds like you are looking more for a radio button control.
02-10-2012 06:13 PM
@eximo wrote:
What about putting the check next to the menu item? How is that accomplished?
If you mean "Checked" mark, use Set Menu Item Info: