------------------------------------------------------------------------------
| 713 | |
| 714 | //------------------------------------------------------------------------------ |
| 715 | int vtkWin32RenderWindowInteractor::OnMButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat) |
| 716 | { |
| 717 | if (!this->Enabled) |
| 718 | { |
| 719 | return 0; |
| 720 | } |
| 721 | SetFocus(wnd); |
| 722 | SetCapture(wnd); |
| 723 | this->SetEventInformationFlipY(X, Y, nFlags & MK_CONTROL, nFlags & MK_SHIFT, 0, repeat); |
| 724 | this->SetAltKey((GetKeyState(VK_MENU) & 0x8000) != 0); |
| 725 | return this->InvokeEvent(vtkCommand::MiddleButtonPressEvent, nullptr); |
| 726 | } |
| 727 | |
| 728 | //------------------------------------------------------------------------------ |
| 729 | int vtkWin32RenderWindowInteractor::OnMButtonUp(HWND, UINT nFlags, int X, int Y) |
no test coverage detected