I implemented the ConstructContextualMenu event for a TextField. Need to show a custom contextual menu.
Problem is in OS X, the Services submenu is also added from the OS. Possibly on Windows can happen something similar.
Is there a way to prevent the OS to display the Services item or any other unwanted items?
hmm no answers.
Seems incredible here
Shouldnt possible to achieve what I ask, I guess.
[quote=66297:@Massimo Valle]I implemented the ConstructContextualMenu event for a TextField. Need to show a custom contextual menu.
Problem is in OS X, the Services submenu is also added from the OS. Possibly on Windows can happen something similar.
Is there a way to prevent the OS to display the Services item or any other unwanted items?[/quote]
Seems on Mac, any contextual menu has Services added.
The only exception I noticed is when you clone a menu. Then no Services added. Or for Edit, no Find, Spelling & Grammar, Speech, Dictation, special chars… I simply tested with the documentation example below.
If IsContextualClick Then
Dim m As MenuItem
m = EditMenu.Clone.PopUp
End if