Skip to content

Commit

Permalink
添加对话框资源。
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweihan committed Jun 28, 2017
1 parent c9a468a commit 5aaf802
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Src/Edislab/Edislab Pro/ConcreteTabWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,5 @@ void CConcreteTabWnd::OnSize(UINT nType, int cx, int cy)
void CConcreteTabWnd::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值

//CWnd* pWnd = AfxGetMainWnd();

//if (NULL != pWnd)
//{
// pWnd->PostMessage(WM_NOTIFY_ACTIVE_WND_TYPE,2,0);
//}
CBaseTabWnd::OnLButtonDown(nFlags, point);
}
42 changes: 42 additions & 0 deletions Src/Edislab/Edislab Pro/DlgAddColumn.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// DlgAddColumn.cpp : 实现文件
//

#include "stdafx.h"
#include "Edislab Pro.h"
#include "DlgAddColumn.h"
// CDlgAddColumn 对话框

IMPLEMENT_DYNAMIC(CDlgAddColumn, CBaseDialog)

CDlgAddColumn::CDlgAddColumn(CWnd* pParent /*=NULL*/)
: CBaseDialog(CDlgAddColumn::IDD, pParent)
{

}

CDlgAddColumn::~CDlgAddColumn()
{
}

void CDlgAddColumn::DoDataExchange(CDataExchange* pDX)
{
CBaseDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CDlgAddColumn, CBaseDialog)
END_MESSAGE_MAP()


// CDlgAddColumn 消息处理程序


BOOL CDlgAddColumn::OnInitDialog()
{
CBaseDialog::OnInitDialog();

// TODO: 在此添加额外的初始化

return TRUE; // return TRUE unless you set the focus to a control
// 异常: OCX 属性页应返回 FALSE
}
23 changes: 23 additions & 0 deletions Src/Edislab/Edislab Pro/DlgAddColumn.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once


// CDlgAddColumn 对话框
#include "BaseDialog.h"
class CDlgAddColumn : public CBaseDialog
{
DECLARE_DYNAMIC(CDlgAddColumn)

public:
CDlgAddColumn(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgAddColumn();

// 对话框数据
enum { IDD = IDD_DLG_ADD_COLUMN };

protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持

DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
};
Binary file modified Src/Edislab/Edislab Pro/Edislab Pro.rc
Binary file not shown.
2 changes: 2 additions & 0 deletions Src/Edislab/Edislab Pro/Edislab Pro.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
<ClInclude Include="CustomTreeCtrl.h" />
<ClInclude Include="DataDefine.h" />
<ClInclude Include="DlgAcquirationPara.h" />
<ClInclude Include="DlgAddColumn.h" />
<ClInclude Include="DlgAddPage.h" />
<ClInclude Include="DlgChartSet.h" />
<ClInclude Include="DlgDataGroupProperty.h" />
Expand Down Expand Up @@ -302,6 +303,7 @@
<ClCompile Include="CustomGrid.cpp" />
<ClCompile Include="CustomTreeCtrl.cpp" />
<ClCompile Include="DlgAcquirationPara.cpp" />
<ClCompile Include="DlgAddColumn.cpp" />
<ClCompile Include="DlgAddPage.cpp" />
<ClCompile Include="DlgChartSet.cpp" />
<ClCompile Include="DlgDataGroupProperty.cpp" />
Expand Down
6 changes: 6 additions & 0 deletions Src/Edislab/Edislab Pro/Edislab Pro.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@
<ClInclude Include="CustomTreeCtrl.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="DlgAddColumn.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Edislab Pro.cpp">
Expand Down Expand Up @@ -488,6 +491,9 @@
<ClCompile Include="CustomTreeCtrl.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="DlgAddColumn.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Edislab Pro.rc">
Expand Down
Binary file modified Src/Edislab/Edislab Pro/resource.h
Binary file not shown.

0 comments on commit 5aaf802

Please sign in to comment.