| 863 | } |
| 864 | |
| 865 | void CFrameEditor::OnLButtonDblClk(UINT nFlags, CPoint point) |
| 866 | { |
| 867 | // Select channel and enable edit mode |
| 868 | |
| 869 | const int Channel = GetChannelFromPoint(point); |
| 870 | const int NewFrame = GetRowFromPoint(point, true); // // // allow one-past-the-end |
| 871 | |
| 872 | SetEditFrame(NewFrame); // // // |
| 873 | |
| 874 | if (Channel >= 0) |
| 875 | m_pView->SelectChannel(Channel); |
| 876 | |
| 877 | if (m_bInputEnable) |
| 878 | m_pView->SetFocus(); |
| 879 | else |
| 880 | EnableInput(); |
| 881 | |
| 882 | CWnd::OnLButtonDblClk(nFlags, point); |
| 883 | } |
| 884 | |
| 885 | BOOL CFrameEditor::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) |
| 886 | { |
nothing calls this directly
no test coverage detected