| 706 | } |
| 707 | |
| 708 | BOOL CFrameEditor::PreTranslateMessage(MSG* pMsg) |
| 709 | { |
| 710 | // Temporary fix, accelerated messages must be sent to the main window |
| 711 | if (FTEnv.GetAccelerator()->Translate(FTEnv.GetMainFrame()->m_hWnd, pMsg)) { |
| 712 | return TRUE; |
| 713 | } |
| 714 | |
| 715 | if (pMsg->message == WM_KEYDOWN) { |
| 716 | OnKeyDown(pMsg->wParam, pMsg->lParam & 0xFFFF, pMsg->lParam & 0xFF0000); |
| 717 | // Remove the beep |
| 718 | pMsg->message = WM_NULL; |
| 719 | } |
| 720 | |
| 721 | return CWnd::PreTranslateMessage(pMsg); |
| 722 | } |
| 723 | |
| 724 | int CFrameEditor::GetRowFromPoint(const CPoint &point, bool DropTarget) const |
| 725 | { |
nothing calls this directly
no test coverage detected