| 134 | } |
| 135 | |
| 136 | BOOL CnsfplayApp::ProcessMessageFilter(int code, LPMSG lpMsg) |
| 137 | { |
| 138 | // keyboard player commands |
| 139 | if(m_hAccel!= NULL && m_pDlg->m_hWnd == ::GetForegroundWindow()) |
| 140 | { |
| 141 | if(::TranslateAccelerator(m_pMainWnd -> m_hWnd, m_hAccel, lpMsg)) |
| 142 | { |
| 143 | //return TRUE; |
| 144 | // allowing keyboard messages to pass through (no need to block) |
| 145 | } |
| 146 | } |
| 147 | return CWinApp::ProcessMessageFilter(code, lpMsg); |
| 148 | } |
nothing calls this directly
no outgoing calls
no test coverage detected