91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

VC/MFC 使用 日期控件 設置、獲取 日期時間信息

資源截圖

代碼片段和文件信息

//?DatePickerDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“DatePickerDemo.h“
#include?“DatePickerDemoDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CDatePickerDemoApp

BEGIN_MESSAGE_MAP(CDatePickerDemoApp?CWinApp)
//{{AFX_MSG_MAP(CDatePickerDemoApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CDatePickerDemoApp?construction

CDatePickerDemoApp::CDatePickerDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDatePickerDemoApp?object

CDatePickerDemoApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDatePickerDemoApp?initialization

BOOL?CDatePickerDemoApp::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

CDatePickerDemoDlg?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??2011-07-20?18:01??DatePickerDemo\
?????文件????????1287??2008-04-03?20:35??DatePickerDemo\DatePickerDemo.clw
?????文件????????2175??2008-04-03?19:58??DatePickerDemo\DatePickerDemo.cpp
?????文件????????4303??2008-04-03?19:58??DatePickerDemo\DatePickerDemo.dsp
?????文件?????????553??2008-04-03?19:58??DatePickerDemo\DatePickerDemo.dsw
?????文件????????1412??2008-04-03?19:58??DatePickerDemo\DatePickerDemo.h
?????文件????????5587??2008-04-03?20:27??DatePickerDemo\DatePickerDemo.rc
?????文件????????5192??2008-04-03?20:35??DatePickerDemo\DatePickerDemoDlg.cpp
?????文件????????1453??2008-04-03?20:07??DatePickerDemo\DatePickerDemoDlg.h
?????文件????????3723??2008-04-03?19:58??DatePickerDemo\ReadMe.txt
?????目錄???????????0??2011-07-20?18:01??DatePickerDemo\res\
?????文件?????????738??2008-04-03?20:08??DatePickerDemo\Resource.h
?????文件????????1078??2008-04-03?19:58??DatePickerDemo\res\DatePickerDemo.ico
?????文件?????????406??2008-04-03?19:58??DatePickerDemo\res\DatePickerDemo.rc2
?????文件?????????216??2008-04-03?19:58??DatePickerDemo\StdAfx.cpp
?????文件????????1054??2008-04-03?19:58??DatePickerDemo\StdAfx.h

評論

共有 條評論