資源簡介
MFC界面開發實例,很不錯哦。

代碼片段和文件信息
//?Dialog.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Dialog.h“
#include?“DialogDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDialogApp
BEGIN_MESSAGE_MAP(CDialogApp?CWinApp)
//{{AFX_MSG_MAP(CDialogApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDialogApp?construction
CDialogApp::CDialogApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDialogApp?object
CDialogApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDialogApp?initialization
BOOL?CDialogApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDialogDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2003-04-13?12:09??char11\
?????目錄???????????0??2003-04-13?12:09??char11\char11\
?????目錄???????????0??2003-04-13?12:09??char11\char11\autorepeat_button\
?????文件?????????918??1998-06-22?01:24??char11\char11\autorepeat_button\MyEdit.cpp
?????文件????????1190??1998-06-22?00:35??char11\char11\autorepeat_button\MyEdit.h
?????目錄???????????0??2003-04-13?12:09??char11\char11\autorepeat_button\res\
?????文件????????1078??1998-06-21?18:40??char11\char11\autorepeat_button\res\seek.ico
?????文件?????????396??1998-06-21?18:40??char11\char11\autorepeat_button\res\seek.rc2
?????文件?????????682??1998-06-21?20:57??char11\char11\autorepeat_button\resource.h
?????文件????????4379??1998-06-22?01:13??char11\char11\autorepeat_button\seek.001
?????文件????????2002??1998-06-21?18:40??char11\char11\autorepeat_button\seek.cpp
?????文件????????4323??1997-01-15?12:11??char11\char11\autorepeat_button\seek.dsp
?????文件?????????533??1997-01-15?12:11??char11\char11\autorepeat_button\seek.dsw
?????文件????????1310??1998-06-21?18:40??char11\char11\autorepeat_button\seek.h
?????文件???????50176??1997-01-15?12:12??char11\char11\autorepeat_button\seek.ncb
?????文件???????48640??1997-01-15?12:12??char11\char11\autorepeat_button\seek.opt
?????文件????????1763??1997-01-15?12:11??char11\char11\autorepeat_button\seek.plg
?????文件????????4361??1998-06-22?00:48??char11\char11\autorepeat_button\seek.rc
?????文件????????3329??1998-06-21?23:07??char11\char11\autorepeat_button\seekButton.cpp
?????文件????????1718??1998-06-21?23:06??char11\char11\autorepeat_button\SeekButton.h
?????文件????????2863??1998-06-22?00:51??char11\char11\autorepeat_button\seekDlg.cpp
?????文件????????1377??1998-06-22?00:48??char11\char11\autorepeat_button\seekDlg.h
?????文件?????????202??1998-06-21?18:40??char11\char11\autorepeat_button\StdAfx.cpp
?????文件?????????928??1998-06-21?18:40??char11\char11\autorepeat_button\StdAfx.h
?????目錄???????????0??2003-04-13?12:09??char11\char11\button_st
?????文件????????1141??2000-03-07?19:43??char11\char11\button_st
?????文件????????1279??2000-03-07?19:42??char11\char11\button_st
?????文件???????16010??1998-11-18?20:34??char11\char11\button_st
?????文件????????5642??1998-11-18?20:35??char11\char11\button_st
?????文件???????65416??2001-01-07?09:01??char11\char11\button_st
?????文件????????2783??2001-01-07?10:30??char11\char11\button_st
............此處省略2983個文件信息
- 上一篇:Win32多線程程序設計 pdf高清
- 下一篇:VC++實現電子詞典
評論
共有 條評論