Skip to content

Commit 0d504e9

Browse files
committed
YellowButterfly1.1
1 parent f747ce6 commit 0d504e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3895
-0
lines changed

Debug/skinh.she

18.5 KB
Binary file not shown.

Debug/使用说明.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
�ƺ���ֻ�DZ������Ķ���һ��С���ߣ�����Ҳûȥ������Ż���
2+
��˵�������Ծ��ԱȺ����Ҳ�ã�Ҳû�оɰ��̺����ĵ���©��(����Ȥ��������)��������C++��д�ģ���������Ч�ʺܿ졣
3+
�ƺ���1.1�Ĺ��ܣ�
4+
5+
���������ڿͻ��˵��������ܡ�
6+
1.�ƺ���������������ʵ�Dz�����ô���õģ�Ĭ���Զ�ѡ�����������������еĻ���������û�����߻���WIFI�ɣ�
7+
2.Ĭ��ѡ���Զ���ȡipģʽ�����ˣ�ֻҪ���������������Զ���ȡip��ϲ��diy�Ŀ����Լ���д��
8+
3.�ɹ�ѡ�Զ���¼��
9+
10+
�ڿ������ö�ʱ����
11+
1.��������ֱ����д��ʱ�� ������ Ȼ����ʱ��ʼ��ť�Ϳ����ˣ� ��Ҫȡ���͵�ȡ������ť��
12+
13+
�ۿ��Թ�ѡ��������,ʹ�ö����������ܼǵò�Ҫ��ѡ��½��ʾ...
14+
15+
�ܵ�¼�ɹ�ѡ����ʾ��Ϣ
16+
17+
18+
1.�����˲��ԣ��ʺ����ٺ󲻻����̺�����������....
19+
20+
21+
���˽��飬��Ҫ�������ã�����ֱ�����ʺ������¼�����ˣ�
22+
��˵�Զ�ѡ����������������ͬʱ���ö�������!

YellowButterfly.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.21005.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YellowButterfly", "YellowButterfly\YellowButterfly.vcxproj", "{2A7C75F3-85B3-40C5-899B-13401BF7DC66}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Win32 = Debug|Win32
11+
Release|Win32 = Release|Win32
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2A7C75F3-85B3-40C5-899B-13401BF7DC66}.Debug|Win32.ActiveCfg = Debug|Win32
15+
{2A7C75F3-85B3-40C5-899B-13401BF7DC66}.Debug|Win32.Build.0 = Debug|Win32
16+
{2A7C75F3-85B3-40C5-899B-13401BF7DC66}.Release|Win32.ActiveCfg = Release|Win32
17+
{2A7C75F3-85B3-40C5-899B-13401BF7DC66}.Release|Win32.Build.0 = Release|Win32
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

YellowButterfly.v12.suo

62 KB
Binary file not shown.

YellowButterfly/AboutBox.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#pragma once
2+
#include "resource.h"
3+
class CAboutDlg : public CDialogEx
4+
{
5+
public:
6+
CAboutDlg();
7+
8+
// ¶Ô»°¿òÊý¾Ý
9+
enum { IDD = IDD_ABOUTBOX };
10+
11+
protected:
12+
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
13+
14+
// ʵÏÖ
15+
protected:
16+
DECLARE_MESSAGE_MAP()
17+
};
18+
19+
CAboutDlg::CAboutDlg() : CDialogEx(CAboutDlg::IDD)
20+
{
21+
}
22+
23+
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
24+
{
25+
CDialogEx::DoDataExchange(pDX);
26+
}
27+
28+
BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx)
29+
END_MESSAGE_MAP()
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.pch
2+
h:\github\yellowbutterfly\yellowbutterfly\debug\vc120.pdb
3+
h:\github\yellowbutterfly\yellowbutterfly\debug\vc120.idb
4+
h:\github\yellowbutterfly\yellowbutterfly\debug\stdafx.obj
5+
h:\github\yellowbutterfly\yellowbutterfly\debug\exit.obj
6+
h:\github\yellowbutterfly\yellowbutterfly\debug\md5.obj
7+
h:\github\yellowbutterfly\yellowbutterfly\debug\showtip.obj
8+
h:\github\yellowbutterfly\yellowbutterfly\debug\thanks.obj
9+
h:\github\yellowbutterfly\yellowbutterfly\debug\udpclient.obj
10+
h:\github\yellowbutterfly\yellowbutterfly\debug\usage.obj
11+
h:\github\yellowbutterfly\yellowbutterfly\debug\usersetting.obj
12+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.obj
13+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterflydlg.obj
14+
h:\github\yellowbutterfly\debug\yellowbutterfly.ilk
15+
h:\github\yellowbutterfly\debug\yellowbutterfly.exe
16+
h:\github\yellowbutterfly\debug\yellowbutterfly.pdb
17+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.res
18+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\cl.command.1.tlog
19+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\cl.read.1.tlog
20+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\cl.write.1.tlog
21+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\link.command.1.tlog
22+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\link.read.1.tlog
23+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\link.write.1.tlog
24+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\rc.command.1.tlog
25+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\rc.read.1.tlog
26+
h:\github\yellowbutterfly\yellowbutterfly\debug\yellowbutterfly.tlog\rc.write.1.tlog
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
生成启动时间为 2016/4/4 23:18:34。
2+
3+
生成成功。
4+
5+
已用时间 00:00:00.01

YellowButterfly/EXIT.cpp

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
#include "stdafx.h"
2+
#include "EXIT.h"
3+
//#include "YellowButterflyDlg.h"
4+
#include "afxdialogex.h"
5+
6+
7+
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
8+
9+
10+
11+
12+
CEXIT::CEXIT() : CDialogEx(CEXIT::IDD)
13+
{
14+
15+
}
16+
17+
void CEXIT::DoDataExchange(CDataExchange* pDX)
18+
{
19+
CDialogEx::DoDataExchange(pDX);
20+
21+
}
22+
23+
BEGIN_MESSAGE_MAP(CEXIT, CDialogEx)
24+
ON_WM_CREATE()
25+
ON_WM_SYSCOMMAND()
26+
ON_WM_PAINT()
27+
ON_WM_QUERYDRAGICON()
28+
ON_BN_CLICKED(IDC_BUTTON_CONFIRM, &CEXIT::OnBnClickedSure)
29+
30+
END_MESSAGE_MAP()
31+
32+
BOOL CEXIT::OnInitDialog()
33+
{
34+
CDialog::OnInitDialog();
35+
pBtn = (CButton*)GetDlgItem(IDC_RADIO_MIN);
36+
pBtn->SetCheck(1);
37+
return true;
38+
}
39+
40+
41+
void CEXIT::OnBnClickedSure()
42+
{
43+
// TODO: 在此添加控件通知处理程序代码
44+
HWND hwnd = ::FindWindow("YellowButterfly", NULL);
45+
UINT Action[] = { IDC_RADIO_MIN, IDC_RADIO_EXIT };
46+
47+
pBtn = (CButton*)GetDlgItem(Action[0]);
48+
if (pBtn->GetCheck()==TRUE)
49+
{
50+
::PostMessage(hwnd, WM_HIDE_WINDOWS, NULL, NULL);
51+
PostMessage(WM_CLOSE);
52+
}
53+
pBtn = (CButton*)GetDlgItem(Action[1]);
54+
if (pBtn->GetCheck() == TRUE)
55+
{
56+
//if (IDYES == MessageBox("你确定退出黄蝴蝶吗?", "温馨提示", MB_YESNO))
57+
//{
58+
::PostMessage(hwnd, WM_DELETE_NOTIFY, NULL, NULL);
59+
//}
60+
}
61+
62+
}
63+
64+
65+

YellowButterfly/EXIT.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#pragma once
2+
#include "resource.h"
3+
class CEXIT : public CDialogEx
4+
{
5+
public:
6+
CEXIT();
7+
8+
// ¶Ô»°¿òÊý¾Ý
9+
enum { IDD = IDD_DIALOG_EXIT };
10+
11+
protected:
12+
virtual BOOL OnInitDialog();
13+
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
14+
CButton *pBtn = NULL;
15+
// ʵÏÖ
16+
protected:
17+
DECLARE_MESSAGE_MAP()
18+
public:
19+
afx_msg void OnBnClickedSure();
20+
21+
};
22+
23+

0 commit comments

Comments
 (0)