为什么UnRegisterHotKey出错,而RegisterHotKey没问题。
lvcjh 2003-06-26 03:14:02 BOOL COILApp::InitInstance()
{
//注册热键
RegisterHotKey(*m_pMainWnd,1001,MOD_CONTROL|MOD_ALT,'C');
RegisterHotKey(*m_pMainWnd,1002,MOD_CONTROL|MOD_ALT,'c');
}
int COILApp::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
UnRegisterHotKey(*m_pMainWnd, 1001); //出错了..........
UnRegisterHotKey(*m_pMainWnd, 1002);
}
error C2065: 'UnRegisterHotKey' : undeclared identifier