DlgLineBeThin.cpp
资源名称:QGIS.rar [点击查看]
上传用户:oybseng
上传日期:2015-04-27
资源大小:7831k
文件大小:1k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // E:祁强资料集合QGISQDlgDlgLineBeThin.cpp : 实现文件
- //
- #include "stdafx.h"
- #include "..QGIS.h"
- #include "DlgLineBeThin.h"
- // CDlgLineBeThin 对话框
- IMPLEMENT_DYNAMIC(CDlgLineBeThin, CDialog)
- CDlgLineBeThin::CDlgLineBeThin(CWnd* pParent /*=NULL*/)
- : CDialog(CDlgLineBeThin::IDD, pParent)
- , m_fBeThin(0)
- {
- }
- CDlgLineBeThin::~CDlgLineBeThin()
- {
- }
- void CDlgLineBeThin::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- DDX_Text(pDX, IDC_EDIT_BETHIN_PARA_QDLG, m_fBeThin);
- }
- BEGIN_MESSAGE_MAP(CDlgLineBeThin, CDialog)
- END_MESSAGE_MAP()
- BOOL CDlgLineBeThin::OnInitDialog()
- {
- CDialog::OnInitDialog();
- UpdateData(TRUE);
- m_fBeThin = 0.0001;
- UpdateData(FALSE);
- return TRUE;
- }
- void CDlgLineBeThin::OnOK()
- {
- UpdateData(TRUE);
- if(m_fBeThin == 0.0)
- {
- m_fBeThin = 0.000f;
- }
- CDialog::OnOK();
- }
- // CDlgLineBeThin 消息处理程序