I'd like to indicate my form by a right click of a mouse. And ...

I still have several questions.

1.I'd like to indicate my form by a right click of a mouse.

When this application isn't indicated by a right click of a mouse, users have no advantage.
But I don't know how to write it.
I have searched for a net.
The following description was found, but where should it be added?

//-----------------
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
{
    e.Handled = true;
}
//-----------------

2. I'd like to do effectively (my menu is indicated )only at "Editor" in TRADOS.

3. I'd like to change it's effective (my menu is indicated) and invalidity (usual popup menu is indicated).
(By clicking a button).

Is there a helpful sample?
Can't I have advice?

Parents Reply
  • Thank you.
    > 1. You want to open your form by using the context menu that appears when your right-click
    No, I want to open my form( instead of context menu) by right click of mouse.
    The operability of the context menu is bad for me.
    And I use almost no short cut.
    Therefore I have conceived my menu form.
    It's defective of course.
    But I think the operability improves(slightly) .

    > 2. This option should be available only in the Editor view
    Yes.
    I think that at other views the operability isn't necessary compared with in Editor view.

    > 3. I really don't understand what are you looking for here
    I could indicate my menu by a Short-cut Key somehow, but I don't know the program which makes my menu indicate by a right click of a mouse.
    I want an example or a helpful sample for this.
Children