📄 keywaitwin.cpp
字号:
// KeyWaitWin.cpp: implementation of the CKeyWaitWin class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "mixer.h"
#include "KeyWaitWin.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
//CKeyWaitWin::CKeyWaitWin()
//{
//
//}
//
CKeyWaitWin::~CKeyWaitWin()
{
}
LRESULT CKeyWaitWin::WindowProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
switch(uMsg){
case WM_KEYUP:
m_iKey=(int)wParam;
m_lKeyData=lParam;
if(m_hMsgWin)
PostMessage(m_hMsgWin,WM_USER,0,long(this));
return 1;
break;
}
return CAbWin::WindowProc(hWnd,uMsg,wParam,lParam);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -