MCPcopy Create free account
hub / github.com/AgoraIO/API-Examples / PreTranslateMessage

Method PreTranslateMessage

windows/APIExample/APIExample/APIExampleDlg.cpp:859–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857
858
859BOOL CAPIExampleDlg::PreTranslateMessage(MSG* pMsg)
860{
861 if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN) {
862 return TRUE;
863 }
864 return CDialogEx::PreTranslateMessage(pMsg);
865}
866
867
868void CAPIExampleDlg::OnClose()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected