具体应用是一个语音通信软件,目的是按下某个键时,开始通话,该键弹起,通话结束。请问怎样响应某个具体的键按下的消息?谢谢
解决方案 »
- 下图中的标志如何用MFC绘图绘出来
- 不同项目挂载调试器问题
- 通过IHTMLDocument2 关联IE浏览器问题,
- 连接时出现error LNK2001: unresolved external symbol?
- 这是什么错误?"Release/Simple.pch' is not a valid precompiled header file
- vc 中的线程
- 熟悉 Install Shield 的大侠请进,高分相送。
- RS232,如何设置起始位?
- 放分!VC大突破!!!
- EXCEL2013如何导出成EXCEL 2003格式?
- VC6里实现html文件的编辑,不需要很多功能,急!谢谢
- VC++6.0安装程序的制作
PreTranslateMessage(MSG* pMsg)
{
if (pMsg->message == WM_KEYDOWN)
{
if (pMsg->wParam == F8)
{
//获得F8
}
}
return CWnd::PreTranslateMessage(pMsg);
}
PreTranslateMessage(MSG* pMsg)
{
if (pMsg->message == WM_KEYDOWN)
{
if (pMsg->wParam == VK_F8)
{
//获得F8
}
}
return CWnd::PreTranslateMessage(pMsg);
}