Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
ShowContextMenu
It would be nice to have a couple of other features here... suggestions for development.
One would be to allow a tick/check option against a menu option.
Another would be to have an image associated with the options, like you see when in MS Word for example.
One would be to allow a tick/check option against a menu option.
Another would be to have an image associated with the options, like you see when in MS Word for example.
Comments
How do you envision the tick/check menu option working? That is, how would the state of the check be preserved for subsequent displays? Would this still send an event with the value of the check and then the developer is responsible for setting this later on as needed?
The 4th being a Boolean as checked/unchecked.
There is no need to preserve it, as it would need to be captured by the user when the option is taken, and reinstated as 1/0 when the context menu is shown again.
You don't actually need to send the value, as the fact it is triggered would result in the NOT( ) situation.
But sending it would be good as consistent with other similar methods.