Passing an unknown type of a menu in a method.
Can somebody help me with the following issue.
I want to pass a menu item to a method of a class. What happens if I do not know the type of the menu in advance (could be Visual Basic's menu or a menu item of a third party manufacturer ( Xceed or Sandbar etc). I think the only way is to pass it as an object and handle it in the target function. But as I do not know the type of the menu, it is not possible to manipulate it there.
Is there a solution for this or not .

