MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnKeyDown

Method OnKeyDown

editor/MainFrm.cpp:1311–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309BOOL CMainFrame::OnCommand(WPARAM wParam, LPARAM lParam) { return CFrameWnd::OnCommand(wParam, lParam); }
1310
1311void CMainFrame::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) {
1312 if (nChar == VK_NUMPAD5) {
1313 SlewStop(Viewer_object);
1314 }
1315
1316 CFrameWnd::OnKeyDown(nChar, nRepCnt, nFlags);
1317}
1318
1319BOOL CMainFrame::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult) {
1320 // Perform notification requests on the keypad tab dialog bar and other

Callers

nothing calls this directly

Calls 1

SlewStopFunction · 0.85

Tested by

no test coverage detected