📄 proplistbox.cpp
字号:
// PropListBox.cpp : 实现文件
//
#include "stdafx.h"
#include "PropListBox.h"
#include "PropListBoxDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// CPropListBoxApp
BEGIN_MESSAGE_MAP(CPropListBoxApp, CWinApp)
//{{AFX_MSG_MAP(CPropListBoxApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
// CPropListBoxApp 构造
CPropListBoxApp::CPropListBoxApp()
{
// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}
// 唯一的一个 CViewScrollApp 对象
CPropListBoxApp theApp;
// CViewScrollApp 初始化
BOOL CPropListBoxApp::InitInstance()
{
AfxEnableControlContainer();
// 如果一个运行在 Windows XP 上的应用程序清单指定要
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
//则需要 InitCommonControls()。否则,将无法创建窗口。
#ifdef _AFXDLL
Enable3dControls();
#else
Enable3dControlsStatic();
#endif
CPropListBoxDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}
return FALSE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -