資源簡(jiǎn)介
利用Vc++6.0的MFC繪制金剛石圖案
代碼片段和文件信息
//?InputDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“Test.h“
#include?“InputDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CInputDlg?dialog
CInputDlg::CInputDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CInputDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CInputDlg)
m_r?=?300.0;
m_n?=?30;
//}}AFX_DATA_INIT
}
void?CInputDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInputDlg)
DDX_Text(pDX?IDC_EDIT2?m_r);
DDV_MinMaxDouble(pDX?m_r?200.?500.);
DDX_Text(pDX?IDC_EDIT1?m_n);
DDV_MinMaxInt(pDX?m_n?5?50);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInputDlg?CDialog)
//{{AFX_MSG_MAP(CInputDlg)
ON_WM_SHOWWINDOW()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CInputDlg?messag
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????1251??2009-11-14?16:16??金剛石圖案算法\InputDlg.cpp
?????文件???????1206??2009-11-14?16:16??金剛石圖案算法\InputDlg.h
?????文件???????2369??2006-11-22?15:20??金剛石圖案算法\MainFrm.cpp
?????文件???????1440??2006-11-22?15:20??金剛石圖案算法\MainFrm.h
?????文件???????4263??2006-11-22?11:07??金剛石圖案算法\ReadMe.txt
?????文件??????68578??2009-11-12?09:23??金剛石圖案算法\res\about.bmp
?????文件??????10134??2006-11-22?11:29??金剛石圖案算法\res\app.ico
?????文件????????766??2006-11-22?11:17??金剛石圖案算法\res\draw.ico
?????文件???????4710??2006-11-22?11:17??金剛石圖案算法\res\exit.ico
?????文件???????3638??2006-11-22?11:17??金剛石圖案算法\res\Help.ico
?????文件????????766??2007-08-18?16:56??金剛石圖案算法\res\icon5.ico
?????文件???????1078??2006-11-22?11:32??金剛石圖案算法\res\Test.ico
?????文件????????396??2006-11-22?11:07??金剛石圖案算法\res\Test.rc2
?????文件???????1078??2006-11-22?11:07??金剛石圖案算法\res\TestDoc.ico
?????文件???????1654??2006-11-22?11:25??金剛石圖案算法\res\Toolbar.bmp
?????文件???????1186??2009-11-15?09:48??金剛石圖案算法\resource.h
?????文件????????206??2006-11-22?11:07??金剛石圖案算法\StdAfx.cpp
?????文件???????1054??2006-11-22?11:07??金剛石圖案算法\StdAfx.h
?????文件?????118748??2010-04-27?14:29??金剛石圖案算法\Test.aps
?????文件???????2098??2010-04-27?14:29??金剛石圖案算法\Test.clw
?????文件???????4234??2009-11-25?10:45??金剛石圖案算法\Test.cpp
?????文件???????5231??2009-11-12?09:23??金剛石圖案算法\Test.dsp
?????文件????????531??2006-11-22?11:37??金剛石圖案算法\Test.dsw
?????文件???????1334??2006-11-22?11:07??金剛石圖案算法\Test.h
?????文件?????394240??2010-04-27?14:29??金剛石圖案算法\Test.ncb
?????文件??????57856??2010-04-27?14:29??金剛石圖案算法\Test.opt
?????文件???????2002??2010-04-27?14:29??金剛石圖案算法\Test.plg
?????文件??????11395??2009-11-15?09:48??金剛石圖案算法\Test.rc
?????文件???????1702??2006-11-22?11:07??金剛石圖案算法\TestDoc.cpp
?????文件???????1453??2006-11-22?11:07??金剛石圖案算法\TestDoc.h
............此處省略7個(gè)文件信息
評(píng)論
共有 條評(píng)論