forked from zhongyang219/TrafficMonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87ea7a7
commit 9567d05
Showing
28 changed files
with
506 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// OptionsDlg.cpp: 实现文件 | ||
// | ||
|
||
#include "pch.h" | ||
#include "PluginDemo.h" | ||
#include "OptionsDlg.h" | ||
#include "afxdialogex.h" | ||
|
||
|
||
// COptionsDlg 对话框 | ||
|
||
IMPLEMENT_DYNAMIC(COptionsDlg, CDialog) | ||
|
||
COptionsDlg::COptionsDlg(CWnd* pParent /*=nullptr*/) | ||
: CDialog(IDD_OPTIONS_DIALOG, pParent) | ||
{ | ||
|
||
} | ||
|
||
COptionsDlg::~COptionsDlg() | ||
{ | ||
} | ||
|
||
void COptionsDlg::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CDialog::DoDataExchange(pDX); | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(COptionsDlg, CDialog) | ||
END_MESSAGE_MAP() | ||
|
||
|
||
// COptionsDlg 消息处理程序 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
|
||
|
||
// COptionsDlg 对话框 | ||
|
||
class COptionsDlg : public CDialog | ||
{ | ||
DECLARE_DYNAMIC(COptionsDlg) | ||
|
||
public: | ||
COptionsDlg(CWnd* pParent = nullptr); // 标准构造函数 | ||
virtual ~COptionsDlg(); | ||
|
||
// 对话框数据 | ||
#ifdef AFX_DESIGN_TIME | ||
enum { IDD = IDD_OPTIONS_DIALOG }; | ||
#endif | ||
|
||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 | ||
|
||
DECLARE_MESSAGE_MAP() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
|
||
#define APSTUDIO_READONLY_SYMBOLS | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 2 resource. | ||
// | ||
#include "winres.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#undef APSTUDIO_READONLY_SYMBOLS | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// ����(���壬�й�) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) | ||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED | ||
#pragma code_page(936) | ||
|
||
#ifdef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// TEXTINCLUDE | ||
// | ||
|
||
1 TEXTINCLUDE | ||
BEGIN | ||
"resource.h\0" | ||
END | ||
|
||
2 TEXTINCLUDE | ||
BEGIN | ||
"#include ""winres.h""\r\n" | ||
"\0" | ||
END | ||
|
||
3 TEXTINCLUDE | ||
BEGIN | ||
"\r\n" | ||
"\0" | ||
END | ||
|
||
#endif // APSTUDIO_INVOKED | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Dialog | ||
// | ||
|
||
IDD_OPTIONS_DIALOG DIALOGEX 0, 0, 310, 178 | ||
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||
CAPTION "ʱ�ں���������" | ||
FONT 9, "���ź�", 400, 0, 0x0 | ||
BEGIN | ||
DEFPUSHBUTTON "ȷ��",IDOK,199,157,50,14 | ||
PUSHBUTTON "ȡ��",IDCANCEL,253,157,50,14 | ||
END | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// DESIGNINFO | ||
// | ||
|
||
#ifdef APSTUDIO_INVOKED | ||
GUIDELINES DESIGNINFO | ||
BEGIN | ||
IDD_OPTIONS_DIALOG, DIALOG | ||
BEGIN | ||
LEFTMARGIN, 7 | ||
RIGHTMARGIN, 303 | ||
TOPMARGIN, 7 | ||
BOTTOMMARGIN, 171 | ||
END | ||
END | ||
#endif // APSTUDIO_INVOKED | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// AFX_DIALOG_LAYOUT | ||
// | ||
|
||
IDD_OPTIONS_DIALOG AFX_DIALOG_LAYOUT | ||
BEGIN | ||
0 | ||
END | ||
|
||
#endif // ����(���壬�й�) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 3 resource. | ||
// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#endif // not APSTUDIO_INVOKED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
#pragma once | ||
|
||
#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容 | ||
// Windows 头文件 | ||
#include <windows.h> | ||
//// Windows 头文件 | ||
//#include <windows.h> | ||
|
||
#include <SDKDDKVer.h> | ||
|
||
#include <afxwin.h> // MFC 核心组件和标准组件 | ||
#include <afxext.h> // MFC 扩展 | ||
#include <afxdisp.h> // MFC 自动化类 | ||
|
||
#ifdef _UNICODE | ||
#if defined _M_IX86 | ||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") | ||
#elif defined _M_X64 | ||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") | ||
#else | ||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,6 @@ | |
// 添加要在此处预编译的标头 | ||
#include "framework.h" | ||
|
||
#include "resource.h" | ||
|
||
#endif //PCH_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//{{NO_DEPENDENCIES}} | ||
// Microsoft Visual C++ 生成的包含文件。 | ||
// 供 PluginDemo.rc 使用 | ||
// | ||
#define IDD_DIALOG1 101 | ||
#define IDD_OPTIONS_DIALOG 101 | ||
|
||
// Next default values for new objects | ||
// | ||
#ifdef APSTUDIO_INVOKED | ||
#ifndef APSTUDIO_READONLY_SYMBOLS | ||
#define _APS_NEXT_RESOURCE_VALUE 103 | ||
#define _APS_NEXT_COMMAND_VALUE 40001 | ||
#define _APS_NEXT_CONTROL_VALUE 1001 | ||
#define _APS_NEXT_SYMED_VALUE 101 | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.