1. 使用RegisterHotKey()注册快捷键; 2. OnHotKey()函数中响应快捷键; 3. 程序退出时,使用UnregisterHotKey(hWnd, m_HotKeyId)取消快捷键注册。