資源簡介
C++ 在程序中添加快捷鍵(提高篇-實例090).zip
代碼片段和文件信息
//?SetHotKey.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“SetHotKey.h“
#include?“SetHotKeyDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CSetHotKeyApp
BEGIN_MESSAGE_MAP(CSetHotKeyApp?CWinApp)
//{{AFX_MSG_MAP(CSetHotKeyApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CSetHotKeyApp?construction
CSetHotKeyApp::CSetHotKeyApp()
{
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSetHotKeyApp?object
CSetHotKeyApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CSetHotKeyApp?initialization
BOOL?CSetHotKeyApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1474??2007-08-21?15:46??resource.h
?????文件???????25932??2013-10-30?15:41??SetHotKey.aps
?????文件????????1439??2013-10-30?16:06??SetHotKey.clw
?????文件????????1503??2007-08-21?15:46??SetHotKey.cpp
?????文件????????4150??2007-08-21?15:46??SetHotKey.dsp
?????文件?????????543??2007-08-21?15:46??SetHotKey.dsw
?????文件????????1215??2007-08-21?15:46??SetHotKey.h
?????文件??????290304??2013-10-30?16:06??SetHotKey.opt
?????文件????????5878??2007-08-21?15:46??SetHotKey.rc
?????文件????????6095??2007-08-21?15:46??SetHotKeyDlg.cpp
?????文件????????1734??2007-08-21?15:46??SetHotKeyDlg.h
?????文件?????????211??2007-08-21?15:46??StdAfx.cpp
?????文件????????1054??2007-08-21?15:46??StdAfx.h
?????文件????????5694??2007-08-21?15:46??res\SetHotKey.ico
?????文件?????????401??2007-08-21?15:46??res\SetHotKey.rc2
- 上一篇:C++ 獲得鼠標鍵數
- 下一篇:C++ 隱藏和顯示鼠標
評論
共有 條評論